Using Countifs to count a string

mecerrato

Board Regular
Joined
Oct 5, 2015
Messages
184
Office Version
  1. 365
Platform
  1. Windows
I have this formula that I use to count the amount of loans that are "FHA Fixed" but it is counting every instance that it finds the words "FHA Fixed". I want to only count if FHA Fixed is together but it is counting the row if it contains the words "FHA Fixed" anywhere in the column.

Can someone help me tweak this formula?

Formula I am using:
=COUNTIFS(Fundings!$E$2:$E$150000,$B$21,Fundings!$AF$2:$AF$150000,"=" & "*FHA Fixed*",Fundings!$V$2:$V$150000,">="&$B23,Fundings!$V$2:$V$150000,"<"&EDATE($B23,1))
The data us below, the result I desire is a count of 1 loan because there is only 1 "FHA Fixed" but it is also counting the row that has "im FHA Bond Conforming Fixed 30 Year"

Product Name
im BROKERED QUORUM HELOC
Conv Fixed 30 Year
FHA Fixed 30 Year
Conv Fixed 30 Year
Conv Fixed 30 Year
Conv Fixed 30 Year
im FHA Bond Conforming Fixed 30 Year
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Thanks for that.
With 365 you no longer need to use Ctrl Shift Enter for any formula.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top