+ Reply to Thread
Results 1 to 15 of 15

Summary of conditional formating on new sheet

  1. #1
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Summary of conditional formating on new sheet

    I did conditional formating of top 10% for 3 different colums (sales, cost, profit)not dependent to each other. Right now my top 10% is higlighted in green for each of the columns I'm wondering if there is a formula that I can put on the new sheet that would pull top 10% for each column (highlighted in green) and sort in descending order.

    Thanks

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of conditional formating on new sheet

    Hi

    As i know, this is the problem of Conditional Formatting.

    Can't use a formula for it. Only Copy-Paste, or using VBA.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Summary of conditional formating on new sheet

    What kind a VBA any example?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of conditional formating on new sheet

    Sorry, i know almost nothing for VBA.

    Maybe another member..

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Hi Jim,

    See the attached file where I have tried solving your query without VBA.

    Cheers


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of conditional formating on new sheet

    dilipandey, jimstrongy, wrotes:

    I'm wondering if there is a formula that I can put on the new sheet that would pull top 10% for each column (highlighted in green) and sort in descending order.
    So, my answer is regarding what jimstrongy, asked for. Different Sheet, Conditional Formatting.

    Is this what are you doing?

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Yes... the results which I have shown on the right side of the data set, can be obtained on any sheet, as shown in the same sheet.
    Since I was not sure as which sheet will be used to show result hence thought to provide the results on the same sheet.
    If the results are agreeable, then it can be achieved in any sheet. And yes, it is pulling only top 10% of the green highlighted cells from original data set.


    I hope this clarifies ...

    cheers

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of conditional formating on new sheet

    You done a great job.

    My complaint is, if we can use Conditional Formating, using data from another sheet.

    I undertoond, that Jimmy asked for this!

    So if i understoond not well the point, pls forget it. Never mind!!

  9. #9
    Forum Contributor
    Join Date
    11-25-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    107

    Re: Summary of conditional formating on new sheet

    I have more complex formula than that because problem is a lot more complex and I achieve same thing as you. Top. 10% of 30 rows its 3 rows and then its a matter of filling in formula in 3 rows.
    I have data 1234 rows big and doing your formula means I have to calculate what 10% of that number is and then do the formula.
    Hence, conditional formating calculates byitself 10% and highlights it no matter how many rows. The point is that I need to have something automated and I don't have toadjust the formula if I only have 3 items that are in top 10% or 300 items.

  10. #10
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Hey Fotis,

    I guess I am not getting your point... is your questions is to get data from another sheet using conditional formatting OR you are asking if we can use conditional formatting on the data which we got (through formulas) from another sheet. Excuse me if I am not getting correctly..

    Thanks,
    DILIPandey

    <click on below 'star' if this helps>

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summary of conditional formating on new sheet

    Hi dilipandey

    It's not exactly guestion...

    I tried to say that if in sheet 2(per example) want to use in a range of cells, Conditional formatting, we can not use data that these are in another sheet...=if(sheet1!a1=1; ..green colour...)

    Sorry for my bad English...

  12. #12
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Hi Jim,

    If I understood you correctly, you need some way to fill the formula down automatically, till it fills up the 10% of the rows, so in this case 30x 10% = 3 rows to fill up.
    If this is correct, then only one option is VBA. Let me know if I am correct in my understanding so that I can provide that code to you.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  13. #13
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Yes Fotis,

    Now I got your point... though I do not deny this fact that we can not catch up green color cells as shown in your formula:=if(sheet1!a1=1; ..green colour...) but this is not required actually. If one thinks little deep on this, he/she will get to know that conditional formatting (green color) is applied only on top 10% of values in original list... so rather going to chase Green ones, why not pick up top 10% directly from that original list and this is what I have given a try.

    Let me know if I am still lacking somewhere to understand you correctly.

    Cheers

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  14. #14
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Summary of conditional formating on new sheet

    Hi, did a small adjustment to dilipandey's suggestion to make it more flexible.
    Attached Files Attached Files

  15. #15
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summary of conditional formating on new sheet

    Thanks estige.. Cheers
    Hi Jim, let us know if this solves your purpose.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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