If isnumber match to ignore blank cells

Toonies

Board Regular
Joined
Jun 8, 2009
Messages
236
Hi and thanks for looking at my question, which is

The following formula works ok with one exception.

Code:
=IF(ISNUMBER(MATCH('Personnel Rota'!C10,Task)),"","Working")


when 'Personnel Rota'!C10 is blank the answer cell at present it displays "Working"

What I need is for the formula to ignore blank cells.

Is this possible.

Many thanks

Toonies
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try:
Code:
=IF(OR(ISBLANK('Personnel Rota'!C10),ISNUMBER(MATCH('Personnel Rota'!C10,Task))),"","Working")
 
Upvote 0
Without knowing the sorts of things that might be in 'Personnel Rota'!C10 or in 'Task', or just what you are trying to achieve, my guess is that you may need something like this

=IF('Personnel Rota'!C10="","",IF(ISNUMBER(MATCH('Personnel Rota'!C10,Task,0)),"","Working"))
 
Upvote 0
Out of curiosity, is there any advantage / disadvantage to using a VLOOKUP in this instance, such as:

=IF('Personnel Rota'!C10="","",IF(ISERROR(VLOOKUP('Personnel Rota' C10,task,1,0)),"Working",""))

I've inherited a ton of workbooks that use that technique rather than ISNUMBER and Match and am now wondering what's the most efficient method.
 
Upvote 0
Hi many thanks to you all.

Each solution works Amazing, just shows how diverse Excel is and I take my hat of to you all.

Cheers

Toonies
 
Upvote 0
haddonsman

I'm not an expert in formula efficiencies but my feeling is that in checking in a single column range as I believe is happening in this example there shouldn't be much difference between
ISERROR(VLOOKUP(... and
ISNUMBER(MATCH(...

If I'm wrong I'm sure somebody will correct me soon enough. :)
 
Upvote 0
haddonsman

I'm not an expert in formula efficiencies but my feeling is that in checking in a single column range as I believe is happening in this example there shouldn't be much difference between
ISERROR(VLOOKUP(... and
ISNUMBER(MATCH(...

If I'm wrong I'm sure somebody will correct me soon enough. :)

IsNumber/Match (with match-type 0) shows a better temporal profile compared to Vlookup with large data sets.
 
Upvote 0

Forum statistics

Threads
1,224,614
Messages
6,179,906
Members
452,949
Latest member
beartooth91

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