LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Using IF function in excel to search for text across cells and she

I am trying to use the IF function to search for a certain abbreviation
across a number of different cells across several sheets. I.e. to count the
number of cells containing this abbreviation.

I have been able to use this for one cell using :

IF(D5="RAB",1,0)

I.e. if D5 contains RAB count 1, otherwise count 0.

How would I reproduce this for a range of cells?
Using the same principle :

IF(D2:D5="RAB",1,0)
However this gives me a result of 0 (when it should be 1)

Im not that experienced with excel so am I using the wrong formula or not
filling correctly, any suggestions?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"