Combining if statement and Isblank

kimparker0261

New Member
Joined
Jan 8, 2019
Messages
30
I have the formula for this spreadsheet, if cell a2 is greater than 0 then display the information from a new sheet and the cell f9, but I also need to put in the if statement if the cell is blank then dont display any information. Can this formula be done .

this is the first half of the formula to show if the cell is less greater than zero to display the information on the other sheet from cell F9, the help I need is to update the formula to say If A2 is blank then leave the cell blank.
<code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; box-sizing: inherit; white-space: inherit;">=IF(A2>0,Sheet2!F9,"")
</code>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You would have to upload it it to a share site such as OneDrive, Dropbox, Googledrive, mark for sharing & then post a link to the thread
 
Upvote 0
How about
=IF(OR(Input!C4="",Input!C4<=0),"",Input!D4)
When you copy that down you will get a value for Input!c6 as it's not blank
 
Upvote 0
Hi, that work for the value of zero
Question is it likely that if the cell is blank or when i clear it out with the space bar that it would not work.
 
Upvote 0
If you "clear it out" with the space bar, then the cell is not blank as it contains a space.
To clear the cell select it & then press delete on the keyboard.
 
Upvote 0
I have one last question for you,
Now that the formula is working and it is updating the output sheet, do you know of any way that the sheet can automatic sort by the qty so the zeros or blanks rows would not be shown
 
Upvote 0
Whilst it won't sort it will remove the blanks & 0s


Excel 2013/2016
CDE
42testPLATFORM, FORMED, 95.875 x 87.50 plywood, DE CO
5213565555
63798BX4-SPSTILE, FORMED, 8" X XXX" LG., SPECIAL UX
7
8
9
10
11
12
13
14
output
Cell Formulas
RangeFormula
C4{=IFERROR(INDEX(Input!C$4:C$9,SMALL(IF((Input!$C$4:$C$9<>"")*(Input!$C$4:$C$9>0),ROW(Input!$C$4:$C$9)-ROW(Input!$C$4)+1),ROWS($1:1))),"")}
D4{=IFERROR(INDEX(Input!D$4:D$9,SMALL(IF((Input!$C$4:$C$9<>"")*(Input!$C$4:$C$9>0),ROW(Input!$C$4:$C$9)-ROW(Input!$C$4)+1),ROWS($1:1))),"")}
E4{=IFERROR(INDEX(Input!E$4:E$9,SMALL(IF((Input!$C$4:$C$9<>"")*(Input!$C$4:$C$9>0),ROW(Input!$C$4:$C$9)-ROW(Input!$C$4)+1),ROWS($1:1))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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