Need help with iserror

markaxtell

New Member
Joined
Jan 6, 2012
Messages
33
Hi,

I was wondering if anyone could help with addding a iserror to the following

{=INDEX(Data!$D$1:$D$433,MATCH(C5,IF(Data!$C$1:$C$433=$F$4,Data!$A$1:$A$433),0))}

I have to press ctrl+shift+enter when entering the formula so will iserror work with this?

Many thanks in advance.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Have you tried this one already?

Code:
{=iserror(INDEX(Data!$D$1:$D$433,MATCH(C5,IF(Data!$C$1:$C$433=$F$4,Data!$A$1:$A$433),0)),"")}
 
Last edited:
Upvote 0
Hi Mark,

This should work for you.

=IF(ISERROR(INDEX(Data!$D$1:$D$433,MATCH(C5,IF(Data!$C$1:$C$433=$F$4,Data!$A$1:$A$433),0))),"",INDEX(Data!$D$1:$D$433,MATCH(C5,IF(Data!$C$1:$C$433=$F$4,Data!$A$1:$A$433),0)))

Paste the formula in your desired cell and then do your array formula key strokes.

Phil
 
Upvote 0
You are my hero!!!!!!!!


hi mark,

this should work for you.

=if(iserror(index(data!$d$1:$d$433,match(c5,if(data!$c$1:$c$433=$f$4,data!$a$1:$a$433),0))),"",index(data!$d$1:$d$433,match(c5,if(data!$c$1:$c$433=$f$4,data!$a$1:$a$433),0)))

paste the formula in your desired cell and then do your array formula key strokes.

Phil
 
Upvote 0
Hi, welcome to the board. Not usually too much need for ISERROR though. I shortened your formula as well.

=IF(ISNUMBER(MATCH($C$5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!C1:C433,0)),INDEX(Data!$D$1:$D$433,MATCH($C$5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!C1:C433,0)),"")

Confirm with CTRL-SHIFT-ENTER.
 
Upvote 0
Hi, welcome to the board. Not usually too much need for ISERROR though. I shortened your formula as well.

=IF(ISNUMBER(MATCH($C$5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!C1:C433,0)),INDEX(Data!$D$1:$D$433,MATCH($C$5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!C1:C433,0)),"")

Confirm with CTRL-SHIFT-ENTER.

That one dont seem to work when i try and copy it down, i have removed the $ from the $C$5 colum
 
Upvote 0
sorry last question if i want to me it all of row C instead of C1:C433 how would i change the formula?

=IF(ISNUMBER(MATCH(C5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!$C$1:$C$433,0)),INDEX(Data!$D$1:$D$433,MATCH(C5&"|"&$F$4,Data!$A$1:$A$433&"|"&Data!C$1$:$C$433,0)),"")
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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