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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Thanks for that.
With 365 you no longer need to use Ctrl Shift Enter for any formula.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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