Need help asap

AIQ

New Member
Joined
Aug 6, 2011
Messages
15
Hi all,
I have this formula in my spreadsheet:
=SUMPRODUCT(($E$2:$E$3000="URP")*(ISNUMBER(SEARCH("granuloma",$J$2:$J$3000))))

I need the formula to detect "URP" in column E when it is not a single entry. Some cells in column E might have (URP, URA, URM, ... ect). I tried typing an "*URP*" but apparently asterisk can not work with this formula. So I need the formula to count how many "URP" in column E regardless if it is single entry or with other values.
Can you guys please help?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Do exactly as you did in column J

ISNUMBER(SEARCH("URP",$E2:$E$3000))

M.
 
Last edited:
Upvote 0
=ISNUMBER(SEARCH("URP",$C1:$C$10))*(ISNUMBER(SEARCH("granuloma",$H$1:$H$10)))

If this is what you mean, it does not work. It gives me a 0 value
 
Upvote 0
=ISNUMBER(SEARCH("URP",$C1:$C$10))*(ISNUMBER(SEARCH("granuloma",$H$1:$H$10)))

If this is what you mean, it does not work. It gives me a 0 value

Try this

=SUMPRODUCT(ISNUMBER(SEARCH("URP",$C1:$C$10))*ISNUMBER(SEARCH("granuloma",$H$1:$H$10)))

M.
 
Upvote 0
OK this is an example of the spreadsheet
Column C Column E
URA URM Granuloma
URM Granuloma
URA Scar
URM Scar
URA Cyst
URP Abscess

Formula: =ISNUMBER(SEARCH("URP",$C1:$C$10))*(ISNUMBER(SEARCH("granuloma",$H$1:$H$10)))

Goal is to calculate how many patients share "URM" and "Granuloma"
answer should be = 2

BUT formula doesn't recognize multiple entries in the cell C1

Please help!
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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