+ Reply to Thread
Results 1 to 4 of 4

Return cell count based on multiple values (and data validation)

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    77

    Return cell count based on multiple values (and data validation)

    Hi all, long time lurker and first time poster - this site has helped me a lot, but on this one I am stumped. I feel like I know what I need to do but my brain is fizzling out thinking about it. So if I could please ask a bit of a long winded question?

    We run a 24/7 manufacturing plant, with 4 shifts, 7 days a week, with 8 manufacturing lines. These shifts are A,B,C and D, which each have a 'long week' and a 'short week'. The spreadsheet I have works out how many people are away, per line, per day. This works great but I want to make it more dynamic. To start this I have used data validation so that a user could select 'Week 1' and it shows the date, and what shift was working on that day (this works fine). I can't think of a formula to use to dynamically change the result depending on the week/shift.

    I've attached the sheet, I hope it works - it is company sensitive information so I have only included the sheet I am working on and if I can get an answer I should be able to manipulate it.

    Basically, the user selects the week (In the spreadsheet, week 2 is selected, which is shift A and shift D's long week):
    Cell B50 needs to return the value in cell I4
    Cell B51 needs to return the value in cell I5 etc etc

    Cell C50 needs to return the value in cell I37
    Cell C51 needs to return the value in cell I38 etc etc

    If the user then selects the week to 3, then cell B50 should return the value from cell P15, etc etc.

    Sorry, I know I have probably complicated this more than it needs to be, I'll be greatful for any help! Please let me know if you need any more info!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Return cell count based on multiple values (and data validation)

    Hello Reapz and Welcome to the forum !

    Please find attached ! Is this What you are looking for ?


    Book1.xlsx
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    01-09-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Return cell count based on multiple values (and data validation)

    Quote Originally Posted by hemesh View Post
    Hello Reapz and Welcome to the forum !

    Please find attached ! Is this What you are looking for ?


    Attachment 288889
    Hemesh, you are an absolute god among men. Thank you so much! This forum already impressed me before I asked this, so I am blown away now. Thank you once again!

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Return cell count based on multiple values (and data validation)

    You are welcome Reapz.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to return multiple values to a single cell based on multiple criteria
    By lwallace in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-20-2014, 06:32 AM
  2. Replies: 9
    Last Post: 11-26-2012, 12:46 AM
  3. [SOLVED] How to count multiple cell values & do a validation & display results on a different cell
    By adriandefry in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-03-2012, 09:12 AM
  4. Replies: 3
    Last Post: 05-09-2012, 06:22 PM
  5. Replies: 6
    Last Post: 06-08-2010, 09:42 PM

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