#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default If Statement

How do I get a cell to inout what is in that cell unless it is blank, if it
is blank then return what is in another cell, if both are blank then return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default If Statement

hi
not exactly sure if i understand you.
formulas cannot "output" values. they can only return them.
an if formula can look at 2 cells and if return one or the other. or leave
blank.

rephrase your question.

Regards
FSt1

"krc547" wrote:

How do I get a cell to inout what is in that cell unless it is blank, if it
is blank then return what is in another cell, if both are blank then return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default If Statement

I need to look at cell c29, if cell C29 is blank, then cell H17, if cell h17
is blank then nothing.

"FSt1" wrote:

hi
not exactly sure if i understand you.
formulas cannot "output" values. they can only return them.
an if formula can look at 2 cells and if return one or the other. or leave
blank.

rephrase your question.

Regards
FSt1

"krc547" wrote:

How do I get a cell to inout what is in that cell unless it is blank, if it
is blank then return what is in another cell, if both are blank then return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default If Statement

hi
I think i understand now.
try this
=IF(C29<"",C29,IF(H17<"",H17,""))

regards
FSt1

"krc547" wrote:

I need to look at cell c29, if cell C29 is blank, then cell H17, if cell h17
is blank then nothing.

"FSt1" wrote:

hi
not exactly sure if i understand you.
formulas cannot "output" values. they can only return them.
an if formula can look at 2 cells and if return one or the other. or leave
blank.

rephrase your question.

Regards
FSt1

"krc547" wrote:

How do I get a cell to inout what is in that cell unless it is blank, if it
is blank then return what is in another cell, if both are blank then return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 860
Default If Statement

Hi,

Maybe this

=IF(AND(C29="",H17=""),"",H17)

HTH
Martin


"krc547" wrote in message
...
I need to look at cell c29, if cell C29 is blank, then cell H17, if cell
h17
is blank then nothing.

"FSt1" wrote:

hi
not exactly sure if i understand you.
formulas cannot "output" values. they can only return them.
an if formula can look at 2 cells and if return one or the other. or
leave
blank.

rephrase your question.

Regards
FSt1

"krc547" wrote:

How do I get a cell to inout what is in that cell unless it is blank,
if it
is blank then return what is in another cell, if both are blank then
return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default If Statement

Maybe this:

=IF('Input Form'!C29="",IF('Input Form'!H7="","",'Input Form'!H17),"'Input
Form'!C29")

HTH,
Paul

--

"krc547" wrote in message
...
How do I get a cell to inout what is in that cell unless it is blank, if
it
is blank then return what is in another cell, if both are blank then
return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default If Statement

The formula did not work. If comes back showing the formula in the box.

"PCLIVE" wrote:

Maybe this:

=IF('Input Form'!C29="",IF('Input Form'!H7="","",'Input Form'!H17),"'Input
Form'!C29")

HTH,
Paul

--

"krc547" wrote in message
...
How do I get a cell to inout what is in that cell unless it is blank, if
it
is blank then return what is in another cell, if both are blank then
return
nothing.

Example:

=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If Statement

Ensure that the cell is formatted as General, then re-enter the
formula.

Hope this helps.

Pete

On Jan 18, 11:13*pm, krc547 wrote:
The formula did not work. If comes back showing the formula in the box.



"PCLIVE" wrote:
Maybe this:


=IF('Input Form'!C29="",IF('Input Form'!H7="","",'Input Form'!H17),"'Input
Form'!C29")


HTH,
Paul


--


"krc547" wrote in message
...
How do I get a cell to inout what is in that cell unless it is blank, if
it
is blank then return what is in *another cell, if both are blank then
return
nothing.


Example:


=IF('Input Form'!C29=" ",'Input Form'!C29,'Input Form'!H17)- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
If Statement + LEN Krista Excel Worksheet Functions 3 October 12th 06 12:06 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"