Trying to Combine 2 Formulas

meppwc

Well-known Member
Joined
May 16, 2003
Messages
604
Office Version
  1. 365
Platform
  1. Windows
I cannot get the result that I am looking for and I am guessing that I have the parenthesis incorrect.

The formula below works correctly
=IFERROR(VLOOKUP(A721,Available!A:A,1,FALSE),"")

But I want to add another condition that the formula looks at first
=IF(Available!C5<1,"")

So if C5<1 then the cell will be blank...........but if C5 equals or is greater than 1, then this formula runs.........=IFERROR(VLOOKUP(A721,Available!A:A,1,FALSE),"")

What I currently have that is NOT working correctly is below
=IF(Available!C5<1,"")*(IFERROR(VLOOKUP(A722,Available!A:A,1,FALSE),""))
It returns #VALUE !
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Instead of using the "*" , You need to follow the =IF formula syntax which is =IF(logical_test,value_if_true,value_if_false) , and treat the 2nd formula as your "value_if_false"//else condition.

In your case the two formulas would combine to this:

Code:
=IF(Available!C5<1,"",IFERROR(VLOOKUP(A721,Available!A:A,1,FALSE),"")
 
Last edited:
Upvote 0
Try
Code:
=IF(C5<1,"",IFERROR(VLOOKUP(A721,Available!A:A,1,FALSE),""))
 
Upvote 0

Forum statistics

Threads
1,215,274
Messages
6,123,993
Members
449,137
Latest member
abdahsankhan

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