I answered this in the other post and I don't think it's deductible based on the following article. It could be wrong though.
It is my understanding that you cannot deduct anything related to the CPA for tax purposes – this includes additional classes needed to meet the 150 rule or any other credits.
https://www.forbes.com/sites/anthonynitti/2016/12/21/tax-geek-wednesday-deductibility-of-professional-education-expenses/#6f6f48474fc4
CPA Review Courses
In Revenue Ruling 69-292, the IRS concluded that the cost of a CPA review course is a nondeductible, personal expense. The Revenue Ruling draws a parallel to example 3 of Regulation Section 1.162-5(b)(iii), which denies a deduction for a bar review course to a lawyer:
E, who has completed 2 years of a normal 3-year law school course leading to a bachelor of laws degree (LL.B.), is hired by a law firm to do legal research and perform other functions on a full-time basis. As a condition to continued employment, E is required to obtain an LL.B. and pass the State bar examination. E completes his law school education by attending night law school, and he takes a bar review course in order to prepare for the State bar examination. The law courses and bar review course constitute education required to meet the minimum educational requirements for qualification in E's trade or business and, thus, the expenditures for such courses are not deductible.
In addition, the courts have held (see Cooper) that the business of being a CPA is fundamentally different from that of a non-CPA; thus, the expenses for a CPA review course are not deductible under test #4, as the education prepares you for a new trade or business.
Classes Necessary to Meet the 150-hour CPA requirement
Around 15 years ago, most states added another hurdle to the CPA licensing process by requiring applicants to have 150 credits for AICPA membership. Unfortunately, most bachelor's degrees require only 120 credits, meaning it became fairly standard for a college graduate to accept an accounting job, sit for the exam, and then start cranking out additional credits in Music Appreciation at the local community college in an effort to reach the 150-hour requirement.
As stated above, the courts have held that the trade or business of being a CPA is fundamentally different from that of a non-CPA. As a result, the expenses for the additional 30 credits are not deductible, because they prepare or qualify you for a new trade or business; that of being a fully-licensed CPA.