+ Reply to Thread
Results 1 to 5 of 5

problem for grouping data

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Maharashtra INDIA
    MS-Off Ver
    Excel 2007
    Posts
    2

    problem for grouping data

    Excel formula for cell G20 where it will return 14.5 if the number in cell I2 is 20-39, 14 if the number is 40-59, 13.5 if the number is 60-79, 13 if the number is 80-99, and 12.5 if the number is 100 or greater.

  2. #2
    Registered User
    Join Date
    09-20-2012
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    63

    Re: problem for grouping data

    =IF(AND(I2>=20,I2<40),14.5,IF(AND(I2>=40,I2<50),14,IF(AND...))) etc

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Maharashtra INDIA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: problem for grouping data

    Thank you Sir

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: problem for grouping data

    Possibly this:

    =15-0.5*MIN(5,INT(I2/20))

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: problem for grouping data

    Hi atulvw

    Another version:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1