Results 1 to 10 of 11

Thread: Format Cells Based on Given Input

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Here's one way to do it

    =IFERROR(SUMPRODUCT((C$3:I$3>=INDEX(Sheet1!$F$4:$F $8,MATCH($B12,SalesPersons,0)))*(C$3:I$3<=INDEX(Sh eet1!$G$4:$G$8,MATCH($B12,SalesPersons,0)))*(WEEKD AY(C$3:I$3,2)<6)*ISNA(MATCH(C$3:I$3,Holidays,0))), 0)
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  2. #2
    Member
    Join Date
    Aug 2011
    Posts
    92
    Rep Power
    15
    WOW...this is awesome.....it is work for me...Let me implement this and surely share the feedback with you .

    Thanks a ton
    Rajesh

  3. #3
    Member
    Join Date
    Aug 2011
    Posts
    92
    Rep Power
    15
    Sample Allocation.xlsxUtilization.xlsx

    Hi, I tried this and it worked great for the cell highlighting portion..but i was failed to implement the formula to calculate the days ... that may be because i was trying to refelect the days in a diffrent sheet. I am attaching both the file i worked on. The Utilization file is the one i wants to refelect the days and sample allocation is the plotter which is working fine....also is there s way that if some one works on sat or sunday that can also be refelect in the plotter.

    Thanks in anticipation.
    Rajesh

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Use this in D7 of utilization sheet

    =SUMPRODUCT(('[Sample Allocation.xlsx]Plotter'!$K$4:$Q$4>=INDEX('[Sample Allocation.xlsx]Plan'!$H$4:$H$9,MATCH($B7,'[Sample Allocation.xlsx]Plan'!$G$4:$G$9,0)))*('[Sample Allocation.xlsx]Plotter'!$K$4:$Q$4<=INDEX('[Sample Allocation.xlsx]Plan'!$I$4:$I$9,MATCH($B7,'[Sample Allocation.xlsx]Plan'!$G$4:$G$9,0)))*ISNA(MATCH('[Sample Allocation.xlsx]Plotter'!$K$4:$Q$4,'[Sample Allocation.xlsx]Plan'!$R$3:$R$4,0)))
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 4
    Last Post: 02-22-2013, 02:24 AM
  2. Filling A Number Of Cells Based On Numerical Value
    By Ryan_Bernal in forum Excel Help
    Replies: 5
    Last Post: 02-13-2013, 09:44 PM
  3. Replies: 2
    Last Post: 01-24-2013, 09:03 PM
  4. Replies: 1
    Last Post: 12-04-2012, 08:56 AM
  5. Conditional Format Based On Percentage Variance
    By srizki in forum Excel Help
    Replies: 3
    Last Post: 10-09-2012, 03:28 AM

Tags for this Thread

Posting Permissions

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