Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim
 
Posts: n/a
Default Help with IF function

Hi Everyone.

I am using Excel 2000.

I have an IF formula. It first looks to see if J160. If it is, I want it to
look at B16 and see if there is any number including zero (0) in the cell. If
there is, it is to use B16, if not it is to use cell A16.

If I use IF(B16=0), it returns true even if B16 is empty or blank. When B16
is empty or blank, I need the formula to go to A16.

Can someone help?
Thanks
--
Jim
  #2   Report Post  
CLR
 
Posts: n/a
Default

Maybe..........

=IF(J16<=0,"undefined",IF(B16="",A16,B16))

Vaya con Dios,
Chuck, CABGx3



"Jim" wrote in message
...
Hi Everyone.

I am using Excel 2000.

I have an IF formula. It first looks to see if J160. If it is, I want it

to
look at B16 and see if there is any number including zero (0) in the cell.

If
there is, it is to use B16, if not it is to use cell A16.

If I use IF(B16=0), it returns true even if B16 is empty or blank. When

B16
is empty or blank, I need the formula to go to A16.

Can someone help?
Thanks
--
Jim



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=IF(AND(J160,ISNUMBER(B16)),B16,A16)

if B16 can be negative and in that case you should want A16 as result add a
third
part in the AND function B16=0

--
Regards,

Peo Sjoblom

(No private emails please)


"Jim" wrote in message
...
Hi Everyone.

I am using Excel 2000.

I have an IF formula. It first looks to see if J160. If it is, I want it
to
look at B16 and see if there is any number including zero (0) in the cell.
If
there is, it is to use B16, if not it is to use cell A16.

If I use IF(B16=0), it returns true even if B16 is empty or blank. When
B16
is empty or blank, I need the formula to go to A16.

Can someone help?
Thanks
--
Jim


  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

IF(AND(J160,ISNUMBER(B16)),B16,A16)

Biff

"Jim" wrote in message
...
Hi Everyone.

I am using Excel 2000.

I have an IF formula. It first looks to see if J160. If it is, I want it
to
look at B16 and see if there is any number including zero (0) in the cell.
If
there is, it is to use B16, if not it is to use cell A16.

If I use IF(B16=0), it returns true even if B16 is empty or blank. When
B16
is empty or blank, I need the formula to go to A16.

Can someone help?
Thanks
--
Jim



  #5   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

Try this - IF(J160,IF(ISNUMBER(B16),B16,A16))

Regards,

Ashish Mathur

"Jim" wrote:

Hi Everyone.

I am using Excel 2000.

I have an IF formula. It first looks to see if J160. If it is, I want it to
look at B16 and see if there is any number including zero (0) in the cell. If
there is, it is to use B16, if not it is to use cell A16.

If I use IF(B16=0), it returns true even if B16 is empty or blank. When B16
is empty or blank, I need the formula to go to A16.

Can someone help?
Thanks
--
Jim

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
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 05:15 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"