#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Quintile Lookup

I have a list on quintile values for monthly rainfall totals. ie ..

A B C D E F G H
Quin 0 1 2 3 4 5 6
Jan 0-0 1-10 11-23 24-58 59-80 81-90 91 and greater

Row 1 containns the monthly QUINTILE values from 0 to 6, and
Row 2 has the average monthly rainfall range for each month.

Under JAN, there are the other 11 months along with the differing
mthly quintile values, tho that is to be ignored here.

My problem - how can I return the correct quintile value returned for
the monthly rainfall stored in cell named "MonthlyRainfall"?

For example, "MonthlyRainfall" = 25
How do I have the quintile of "3" returned in a cell?

Any ideas would be greatfully appreciated.

Kaye

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Quintile Lookup

Set your ranges to the lower boundary:

0,1,11,24,59,81,91

Then:

A4 = MonthlyRainfall = 25

=LOOKUP(A4,B2:H2,B1:H1)

Biff

"Kaye" wrote in message
...
I have a list on quintile values for monthly rainfall totals. ie ..

A B C D E F G H
Quin 0 1 2 3 4 5 6
Jan 0-0 1-10 11-23 24-58 59-80 81-90 91 and greater

Row 1 containns the monthly QUINTILE values from 0 to 6, and
Row 2 has the average monthly rainfall range for each month.

Under JAN, there are the other 11 months along with the differing
mthly quintile values, tho that is to be ignored here.

My problem - how can I return the correct quintile value returned for
the monthly rainfall stored in cell named "MonthlyRainfall"?

For example, "MonthlyRainfall" = 25
How do I have the quintile of "3" returned in a cell?

Any ideas would be greatfully appreciated.

Kaye



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Quintile Lookup

Thanks Biff - works at treat.

This a w-a-y smaller than my nested if statement!

Kaye

On Sun, 18 Feb 2007 21:57:02 -0500, "T. Valko"
wrote:

Set your ranges to the lower boundary:

0,1,11,24,59,81,91

Then:

A4 = MonthlyRainfall = 25

=LOOKUP(A4,B2:H2,B1:H1)

Biff

"Kaye" wrote in message
.. .
I have a list on quintile values for monthly rainfall totals. ie ..

A B C D E F G H
Quin 0 1 2 3 4 5 6
Jan 0-0 1-10 11-23 24-58 59-80 81-90 91 and greater

Row 1 containns the monthly QUINTILE values from 0 to 6, and
Row 2 has the average monthly rainfall range for each month.

Under JAN, there are the other 11 months along with the differing
mthly quintile values, tho that is to be ignored here.

My problem - how can I return the correct quintile value returned for
the monthly rainfall stored in cell named "MonthlyRainfall"?

For example, "MonthlyRainfall" = 25
How do I have the quintile of "3" returned in a cell?

Any ideas would be greatfully appreciated.

Kaye


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Quintile Lookup

You're welcome. Thanks for the feedback!

Biff

"Kaye" wrote in message
...
Thanks Biff - works at treat.

This a w-a-y smaller than my nested if statement!

Kaye

On Sun, 18 Feb 2007 21:57:02 -0500, "T. Valko"
wrote:

Set your ranges to the lower boundary:

0,1,11,24,59,81,91

Then:

A4 = MonthlyRainfall = 25

=LOOKUP(A4,B2:H2,B1:H1)

Biff

"Kaye" wrote in message
. ..
I have a list on quintile values for monthly rainfall totals. ie ..

A B C D E F G H
Quin 0 1 2 3 4 5 6
Jan 0-0 1-10 11-23 24-58 59-80 81-90 91 and greater

Row 1 containns the monthly QUINTILE values from 0 to 6, and
Row 2 has the average monthly rainfall range for each month.

Under JAN, there are the other 11 months along with the differing
mthly quintile values, tho that is to be ignored here.

My problem - how can I return the correct quintile value returned for
the monthly rainfall stored in cell named "MonthlyRainfall"?

For example, "MonthlyRainfall" = 25
How do I have the quintile of "3" returned in a cell?

Any ideas would be greatfully appreciated.

Kaye




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
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Quartile funciton...quintile? Sarah Excel Discussion (Misc queries) 1 October 27th 06 03:30 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
Quartile / Quintile Function Greg Excel Worksheet Functions 1 April 21st 05 04:03 AM


All times are GMT +1. The time now is 08:15 PM.

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"