LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default multiple < and = question

I am trying to return certain values if certain criteria are met. Here is my
function, and I will break it down to make this easier to understand:

=IF(D550,IF(E17=1,IF(D13<36.344,1,IF(D13=36.344, OR(IF(D13<39.549,2,IF(D13=39.549,3,0)))))),0)

First, this cell will only display if D550, hence
=IF(D550,

Next, if cell E17=1 AND if D13<36.344, then I want a value of 1 returned.
IF(D13<36.344,1

BUT... (still assuming that E17=1) if D13=36.344 or D13<39.549, I want a
value of 2 returned.
IF(D13=36.344,OR(IF(D13<39.549,2

and lastly (and still assuming that E17=1), if D13=39.549, I want a value
of 3 returned.
IF(D13=39.549,3

And to close out the function...
,0)))))),0)

What I am getting with this current function is that if I type a number in
D13 that is < 36.344, I get a correct value of 1 returned. However, if I
have a number that is = 36.344 in D13, all I get is a "True" value returned
and I can't figure out why.

Please forgive me if this is not possible; I am pretty new at TRYING to
understand multiple function Excel programming, and being an old BASIC
programmer seems to be a detriment....

 
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
Multiple criteria/Countif question edju Excel Discussion (Misc queries) 3 September 16th 06 04:13 AM
Vlookup against multiple columns/worksheets question JCarter Excel Discussion (Misc queries) 8 March 9th 05 04:59 PM
Multiple Criteria Lookup Question Gregg Riemer Excel Discussion (Misc queries) 3 February 22nd 05 01:18 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM


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