![]() |
How do I reference an empty cell in a formula?
Trying to write an IF statement to return one value if the cell is empty and
another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
Answer: How do I reference an empty cell in a formula?
To reference an empty cell in a formula, you can use the ISBLANK function. Here's how you can write the IF statement to return one value if the cell is empty and another if not:
Note that you can replace "Value above" and "Value itself" with any values or formulas that you want to return based on whether the cell is empty or not. |
How do I reference an empty cell in a formula?
=if(ISBLANK(A2),A1,A2)
"srosebed" wrote: Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
=IF(C2="",C1,C2)
if I understand you correctly. __________________________________________________ _________________________ "srosebed" wrote in message ... Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
It depends, would the cell be the next cell above?
=IF(A5="",A4,A5) -- Regards, Peo Sjoblom "srosebed" wrote in message ... Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
That's it!! Thanks a million.
"Toppers" wrote: =if(ISBLANK(A2),A1,A2) "srosebed" wrote: Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
Thanks!
"Peo Sjoblom" wrote: It depends, would the cell be the next cell above? =IF(A5="",A4,A5) -- Regards, Peo Sjoblom "srosebed" wrote in message ... Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
Thanks! for another approach.
"Vasant Nanavati" wrote: =IF(C2="",C1,C2) if I understand you correctly. __________________________________________________ _________________________ "srosebed" wrote in message ... Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
"srosebed" wrote: Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
"srosebed" wrote: That's it!! Thanks a million. "Toppers" wrote: =if(ISBLANK(A2),A1,A2) "srosebed" wrote: Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
How do I reference an empty cell in a formula?
"Vasant Nanavati" wrote: =IF(C2="",C1,C2) if I understand you correctly. __________________________________________________ _________________________ "srosebed" wrote in message ... Trying to write an IF statement to return one value if the cell is empty and another if not. For example, if the cell is empty, return the value above, if not empty, return the value itself. |
All times are GMT +1. The time now is 05:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com