Need Help For Formula to Return Zero If No Match

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,866
Is it possible to have the formula in J48 return a blank, if there is no match/
Excel Workbook
J
48#N/A
491097
75%
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

martindwilson

Well-known Member
Joined
Aug 14, 2009
Messages
824
just put iferror around it

=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,"") for blank
or
=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,0) for 0
 

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,866
I knew you'll would come thru!! Thank you very much.




just put iferror around it

=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,"") for blank
or
=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,0) for 0
 

CARBOB

Well-known Member
Joined
Jun 6, 2005
Messages
1,866

ADVERTISEMENT

just put iferror around it

=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,"") for blank
or
=iferror(MATCH(1,(DRAWS!$R$20:$R$4839=$B48)*(DRAWS!$S$20:$S$4839=J$42),0)-1,0) for 0


Trying to get this formula to return a blank instead of zero.
Excel Workbook
AA
22107
F536 DB
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 

XOR LX

Well-known Member
Joined
Jul 2, 2012
Messages
4,517
Hi.

=IFERROR(1/(1/(SUMPRODUCT(--($J$2:$J$376993=$S22),(--($I$2:$I$376993=AA$21))))),"")

Regards
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,015
Messages
5,834,939
Members
430,327
Latest member
Mr_Himalayan778

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
Top