Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Problem I need Help With -- IF Statments

Have a spreadsheet that I need some help with. The spreadsheet has 5 columns
(a,b,c,d,and e). What I need to do is if there is a number entered in a,b,or
c then e needs to =d. If there is no number the cell remains blank. Have
tinkered with this a number of ways and not finding a good solution.

Ideas? Appreicate the help.


--
debra
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Problem I need Help With -- IF Statments

Give this a try. This formula goes in cell E1...

=IF(OR(ISNUMBER(A1), ISNUMBER(B1), ISNUMBER(C1)),D1, "")
--
HTH...

Jim Thomlinson


"debra" wrote:

Have a spreadsheet that I need some help with. The spreadsheet has 5 columns
(a,b,c,d,and e). What I need to do is if there is a number entered in a,b,or
c then e needs to =d. If there is no number the cell remains blank. Have
tinkered with this a number of ways and not finding a good solution.

Ideas? Appreicate the help.


--
debra

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Problem I need Help With -- IF Statments

I'm not sure if this is the cleanest way, but you can try the following
formula in cell E1:

=IF(OR(COUNT(A1)<0,COUNT(B1)<0,COUNT(C1)<0),D1, "")

I'm using the COUNT() function to look for numbers by setting it not equal
to zero, so it will ignore any non-numbers. If any of the columns a, b, or c
has a number in it, column e will return whatever is in d, otherwise it will
leave it blank.


"debra" wrote:

Have a spreadsheet that I need some help with. The spreadsheet has 5 columns
(a,b,c,d,and e). What I need to do is if there is a number entered in a,b,or
c then e needs to =d. If there is no number the cell remains blank. Have
tinkered with this a number of ways and not finding a good solution.

Ideas? Appreicate the help.


--
debra

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Problem I need Help With -- IF Statments

In E2 put the formula =IF(OR(ISNUMBER(A2),ISNUMBER(B2),ISNUMBER(C2)),D2, "")
--
David Biddulph

"debra" wrote in message
...
Have a spreadsheet that I need some help with. The spreadsheet has 5
columns
(a,b,c,d,and e). What I need to do is if there is a number entered in
a,b,or
c then e needs to =d. If there is no number the cell remains blank. Have
tinkered with this a number of ways and not finding a good solution.

Ideas? Appreicate the help.


--
debra



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
under standing if statments zx12rbullet Excel Worksheet Functions 2 July 21st 07 10:16 PM
AND OR IF Statments Rogie Excel Worksheet Functions 3 February 12th 07 04:01 AM
IF statments and ranges Idz21 Excel Worksheet Functions 1 February 23rd 06 03:51 PM
If Statments containing letters Rick Wiley Excel Discussion (Misc queries) 2 November 9th 05 08:09 PM
Conditional statments. Paul987 Excel Discussion (Misc queries) 3 October 27th 05 09:25 PM


All times are GMT +1. The time now is 10:27 AM.

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

About Us

"It's about Microsoft Excel"