ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Return value of non-blank cell (https://www.excelbanter.com/excel-discussion-misc-queries/223040-return-value-non-blank-cell.html)

Teri

Return value of non-blank cell
 
I have two columns, let's call them F and G. If a certain cell in column G
is blank, I need to return the value of column F. Any ideas? I have a
spreadsheet that is 13,000 rows. Thanks!

Sheeloo[_3_]

Return value of non-blank cell
 
Where do you want 'to return the value of column F'?

Enter this in H2
=IF(G2="",F2,"What do you want to do if G2 is not blank?")

You can copy it down...

"Teri" wrote:

I have two columns, let's call them F and G. If a certain cell in column G
is blank, I need to return the value of column F. Any ideas? I have a
spreadsheet that is 13,000 rows. Thanks!


Shane Devenshire

Return value of non-blank cell
 
Hi,

You didn't tell us where you wanted to return the value to or what you
wanted to do if it is blank.

Standard way:

=IF(G1="",F1,"")

But if the entries in G1 are numbers or blank, no 0's or text then a short
formula would be:

=IF(G1,"",F1)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Teri" wrote:

I have two columns, let's call them F and G. If a certain cell in column G
is blank, I need to return the value of column F. Any ideas? I have a
spreadsheet that is 13,000 rows. Thanks!



All times are GMT +1. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com