Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default conditional formulas

Darn! I never seem to notice typos until AFTER I send.

This:
D2: (lower limit.......eg 25)

Should be THIS:
D2: (upper limit.......eg 25)

--
Regards,

Ron
Microsoft MVP (Excel)
(xl2003, XP Pro)

"Ron Coderre" wrote in message
...
Maybe something like this:

A1: (a number.....eg 60)
C2: (lower limit.......eg 20)
D2: (lower limit.......eg 25)

This ARRAY FORMULA, committed with CTRL+SHIFT+ENTER
(instead of just ENTER), returns the first integer quotient:

B1: =INDEX(A1/ROW(INDEX($A:$A,C2):INDEX($A:$A,D2)),
MATCH(1,--(MOD(A1/ROW(INDEX($A:$A,C2):INDEX($A:$A,D2)),1)=0),0))

In the above example, the formula divides 60 by 20, 21, 22, 23, 24 and 25
and returns the first quotient that is a whole number: 3

Is that something you can work with?

--
Regards,

Ron
Microsoft MVP (Excel)
(xl2003, XP Pro)

"jpj1" wrote in message
...
Hi

I need help an excel function/formula
Goal is to divide a number ex (40,50,60,75,87 etc) with specific
constraints
say any number between 20 & 25 ex (65/(20=&=<25))=3 to get a whole
number
within that range.





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
if and conditional formulas Newsgal Excel Worksheet Functions 2 December 20th 07 11:54 PM
Conditional use of formulas Nate MMI Excel Worksheet Functions 2 September 27th 06 11:00 PM
Conditional Formulas Maybe? jrose Excel Discussion (Misc queries) 3 April 25th 06 12:12 PM
conditional formulas Beth104 Excel Worksheet Functions 3 March 8th 06 03:09 PM
Conditional formulas billservit Excel Discussion (Misc queries) 4 May 7th 05 12:06 PM


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