Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Excel Formula

I am having a brain fade, How do I get an if statement to look at a cell and
if there is anything in that cell, then that cell otherwise a different cell?
Below is what I have
=IF('Input Form'!C32=" ",'Input Form'!C32,'Input Form'!H17)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Excel Formula

Looks like you are trying to do it backwards, you are saying if it is blank,
put the data in there(which keeps it blank), you need to do that when it is
not blank
from this
IF('Input Form'!C32=" ",'Input Form'!C32,
to this
IF('Input Form'!C32<" ",'Input Form'!C32,

--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"krc547" wrote:

I am having a brain fade, How do I get an if statement to look at a cell and
if there is anything in that cell, then that cell otherwise a different cell?
Below is what I have
=IF('Input Form'!C32=" ",'Input Form'!C32,'Input Form'!H17)

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Excel Formula

hi
i think your logic is backwards. try this
=IF('Input Form'!C32=" ",'Input Form'!H17,'Input Form'!C32)

bring back h17 if c32 is empty else c32 if c32 is not empty.

Regards
FSt1

"krc547" wrote:

I am having a brain fade, How do I get an if statement to look at a cell and
if there is anything in that cell, then that cell otherwise a different cell?
Below is what I have
=IF('Input Form'!C32=" ",'Input Form'!C32,'Input Form'!H17)

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Excel Formula

Try it:

=IF('Input Form'!C32="";'Input Form'!C32;'Input Form'!H17)

Cheers

"krc547" escreveu:

I am having a brain fade, How do I get an if statement to look at a cell and
if there is anything in that cell, then that cell otherwise a different cell?
Below is what I have
=IF('Input Form'!C32=" ",'Input Form'!C32,'Input Form'!H17)

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
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
match formula - 2 excel files:#1 hasthis formula, 2nd has the Raw DS Excel Worksheet Functions 4 October 7th 06 12:25 AM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
How do I view formula results intead of formula in excel? davidinatlanta Excel Worksheet Functions 4 February 7th 06 03:02 PM


All times are GMT +1. The time now is 09:36 AM.

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"