Alternative return in formula

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have the following formula, but would like the Database!$L$1054:$L$16053 part replaced with "Complete" if a match is found

=IFERROR(INDEX($P$11:$P$35,SMALL(IF($Q$11:$Q$35>0,ROW($Q$11:$Q$35)-ROW($Q$11)+1),ROWS($J$11:$J11))),IFERROR(INDEX(Database!$L$1054:$L$16053,MATCH(C11,Database!$C$1054:$C$16053,0)),IFERROR(INDEX(Database!$L$1054:$L$16053,MATCH(C11,Database!$C$1054:$C$16053,0)),"")))

Any help would be greatly appreciated
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
How about if you replace this bit

IFERROR(INDEX(Database!$L$1054:$L$16053,MATCH(C11,Database!$C$1054:$C$16053,0)),IFERROR(INDEX(Database!$L$1054:$L$16053,MATCH(C11,Database!$C$1054:$C$16053,0)),""))

with this

IF(ISERROR(MATCH(C11,Database!$C$1054:$C$16053,0)),"","Complete")

I am presuming you don't want the actual result of the INDEX, just whether it was found or not.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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