Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default IF_THEN_ELSE question

Here's what I have:

A1 = .75 (that's point seventy-five, less than zero)
B1 = the argument =IF(A1<0,A1,0)

The result I get in B1 is 0 when it should get the number in A! which
is .75 (point seventy-five).
If A1 is 3 (or any number greater than zero), I get whatever the
number in A1 is, but I should get 0..

If I change the argument to 0 (greater than zero), it always gives me
the number in A1, even when it's less than 0.

Yes, I triple-checked all the numbers I put in A1 to make sure there
were no misplaced decimals.

Can someine tell me where I'm going wrong?

Thanks,


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,440
Default IF_THEN_ELSE question

<(that's point seventy-five, less than zero)

..75 isn't less than zero

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"The Hun" wrote in message ...
| Here's what I have:
|
| A1 = .75 (that's point seventy-five, less than zero)
| B1 = the argument =IF(A1<0,A1,0)
|
| The result I get in B1 is 0 when it should get the number in A! which
| is .75 (point seventy-five).
| If A1 is 3 (or any number greater than zero), I get whatever the
| number in A1 is, but I should get 0..
|
| If I change the argument to 0 (greater than zero), it always gives me
| the number in A1, even when it's less than 0.
|
| Yes, I triple-checked all the numbers I put in A1 to make sure there
| were no misplaced decimals.
|
| Can someine tell me where I'm going wrong?
|
| Thanks,
|
|


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default IF_THEN_ELSE question

On Mar 30, 3:02 pm, "Niek Otten" wrote:
<(that's point seventy-five, less than zero)

.75 isn't less than zero

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"The Hun" wrote in ...

| Here's what I have:
|
| A1 = .75 (that's point seventy-five, less than zero)
| B1 = the argument =IF(A1<0,A1,0)
|
| The result I get in B1 is 0 when it should get the number in A! which
| is .75 (point seventy-five).
| If A1 is 3 (or any number greater than zero), I get whatever the
| number in A1 is, but I should get 0..
|
| If I change the argument to 0 (greater than zero), it always gives me
| the number in A1, even when it's less than 0.
|
| Yes, I triple-checked all the numbers I put in A1 to make sure there
| were no misplaced decimals.
|
| Can someine tell me where I'm going wrong?
|
| Thanks,
|
|



Hahahahaha.... Oops!.... What on earth was I thinking. Obviously, I
wasn't. I hate to even admit how many intricate spreadsheets I've
constructed with several cells strung together with each one max'd out
with 7 nested If-Then_Else arguments. I need to go back on the meds.
--- Thanks.
  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,440
Default IF_THEN_ELSE question

Don't worry, this happens to all of us, every now and then!

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"The Hun" wrote in message ...
| On Mar 30, 3:02 pm, "Niek Otten" wrote:
| <(that's point seventy-five, less than zero)
|
| .75 isn't less than zero
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
| "The Hun" wrote in ...
|
| | Here's what I have:
| |
| | A1 = .75 (that's point seventy-five, less than zero)
| | B1 = the argument =IF(A1<0,A1,0)
| |
| | The result I get in B1 is 0 when it should get the number in A! which
| | is .75 (point seventy-five).
| | If A1 is 3 (or any number greater than zero), I get whatever the
| | number in A1 is, but I should get 0..
| |
| | If I change the argument to 0 (greater than zero), it always gives me
| | the number in A1, even when it's less than 0.
| |
| | Yes, I triple-checked all the numbers I put in A1 to make sure there
| | were no misplaced decimals.
| |
| | Can someine tell me where I'm going wrong?
| |
| | Thanks,
| |
| |
|
|
| Hahahahaha.... Oops!.... What on earth was I thinking. Obviously, I
| wasn't. I hate to even admit how many intricate spreadsheets I've
| constructed with several cells strung together with each one max'd out
| with 7 nested If-Then_Else arguments. I need to go back on the meds.
| --- Thanks.


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
MPG Question ClarkDis New Users to Excel 7 August 31st 07 09:18 PM
Question John Calder New Users to Excel 1 November 24th 06 09:00 AM
Question dk Excel Discussion (Misc queries) 1 July 7th 06 06:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


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