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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Ok maybe I am missing something so can you talk it out to me, because it suppose to read that if A2 is blank then dont input the information from the cell, but if A2 is greater than 0 then enter line information from sheet1 Cell F9
 
Upvote 0
"" is basically the same as a blank cell
in If(A2="","",
If(A2="" is checking if the cell is blank and if true puts "" in the cell
if you really wanted to use the IsBlank formula i think it's something like this
=If(IsBlank(A2)=TRUE,"",IF(A2>0,Sheet2!F9,""))
 
Upvote 0
I used your formula to update the cell and check this out
this is the updated formula
=IF(ISBLANK(Input!G9)=TRUE,"",IF(Input!G9>0,Input!H9,""))
Input G9 is the cell on the first sheet that if blank then leave line blank, but if the cell is greater than 0 then input the information from the cell.

did I do something because the if greater than part is not working.
 
Upvote 0
In that case I suspect that G9 is not really blank.
In an empty cell on the input sheet put =isblank(G9) what does it return
 
Upvote 0
In that case the cell is NOT blank
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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