+ Reply to Thread
Results 1 to 6 of 6

Formula help : Sort by number range and then allocate different coloured cells

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Formula help : Sort by number range and then allocate different coloured cells

    Hello to all, this is my first post.

    I have tried googling the results, but just found myself getting more confused.

    I have been trying to use an excel formula to calculate my stock markdowns in my store, using the stock numbers as a range, then applying a colour to that cell to match that range.

    ie 12+ Months old 0 to 350000 Marked as Red
    9-12 M/o 350001 to 370000 Marked as Orange
    6-9 M/o 370001 to 380000 Marked as Green
    3-6 M/o 380001 to 390000 Marked as Yellow
    1-3 M/o 390001 to 400000 Marked as Blue

    Hope that explains what I am trying to do, any help would be greatly appreciated.

    Garth

  2. #2
    Registered User
    Join Date
    10-09-2012
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formula help : Sort by number range and then allocate different coloured cells

    Hi Garth,

    what conditions you are looking for:
    1) >12 AND 0 TO 350000 MARK AS RED
    2) >12 OR 0 TO 350000 MARK AS RED

    if you can attach a sample attachment of your data or provide data in tabular format, it would be more easy for me to solve this query.

  3. #3
    Registered User
    Join Date
    08-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula help : Sort by number range and then allocate different coloured cells

    Thank you for replying, sorry I couldn't explain it better. The data below is the actual data, I am trying to sort.

    Actual
    Stock
    Numbers Range
    Lowest Highest Age Colour

    293366 0 357348 12+ m To be marked as Red
    295145 357349 367657 9-12 m To be marked as Orange
    315709 367658 379264 6-9 m To be marked as Yellow
    325495 379265 389214 3-6 m To be marked as Green
    327988 389215 394789 1-3 m To be marked as Blue
    335743 394790 400000 less 1 month
    337003
    341574
    346974
    348397
    348716
    351414
    353032
    353458
    357262
    358212
    362538
    363438
    364744


    Hope that makes it clearer, thanks again.

    Garth

  4. #4
    Registered User
    Join Date
    10-09-2012
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formula help : Sort by number range and then allocate different coloured cells

    conditional formatings.xlsx

    Here I have attached the solution. I have used two different conditional formattings. Not sure which one is suitable for you.


    Thanks & Warm Regards,
    Prasad Avasare.

  5. #5
    Registered User
    Join Date
    08-28-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula help : Sort by number range and then allocate different coloured cells

    Thank you , much appreciated.

    Thank you for taking the time, sorry for the late reply have been away fro a few days.

  6. #6
    Registered User
    Join Date
    10-09-2012
    Location
    Mumbai,India
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formula help : Sort by number range and then allocate different coloured cells

    Hi,

    Please mark it as solved if you are satisfied.

    Thanks & Warm Regards,
    Prasad Avasare

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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