If statements

TheRins3r

New Member
Joined
Dec 12, 2016
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Trying to create formula that updates another cell with a status.

Struggling where 0 value is returned during 1st count, it says 2nd check required when infact there should be no check.

Formula in column H
=if(g4=L4,"Correct Match","2nd Count Required")

Formula in Cell L (retrieving qty from another sheet)
=iferror(vlookup(a4,Sheet,4,false),"0")
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You need to use
Excel Formula:
=iferror(vlookup(a4,Sheet,4,false),0)
Otherwise the 0 is text & not a number.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,089
Messages
6,128,760
Members
449,466
Latest member
Peter Juhnke

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