+ Reply to Thread
Results 1 to 11 of 11

Using a time-frame, reference/paste a cell value

Hybrid View

berrie Using a time-frame,... 07-11-2014, 12:12 AM
:) Sixthsense :) Re: Using a time-frame,... 07-11-2014, 12:16 AM
berrie Re: Using a time-frame,... 07-11-2014, 12:25 AM
:) Sixthsense :) Re: Using a time-frame,... 07-11-2014, 12:30 AM
berrie Re: Using a time-frame,... 07-11-2014, 12:42 AM
gak67 Re: Using a time-frame,... 07-11-2014, 12:21 AM
gak67 Re: Using a time-frame,... 07-11-2014, 12:33 AM
:) Sixthsense :) Re: Using a time-frame,... 07-11-2014, 12:39 AM
berrie Re: Using a time-frame,... 07-11-2014, 12:35 AM
Vikas_Gautam Re: Using a time-frame,... 07-11-2014, 12:57 AM
Punnam Re: Using a time-frame,... 07-11-2014, 01:05 AM
  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    Utah, USA
    MS-Off Ver
    2007
    Posts
    4

    Using a time-frame, reference/paste a cell value

    I am working on a project to benefit a non-profit daycare - they would like an easy way to schedule clients/see how many children are in the facility at a given time.

    I have a table set up where staff can enter the client's name, number of children, and children's arrival/departure times. For each client, I would like the number of children they will be leaving at the center applied on a corresponding table based on the arrival/departure time.

    For example: If client 1 has 2 children and will be leaving them from 8 am to 12 pm, on the corresponding table( to the left in my spreadsheet), under the "Client 1" column, I would like the number 2 to auto-populate from 8 am to 12 pm.

    I have tried a number of formulas - including VLOOKUP and IF(AND) and can't seem to get the combination just right. Any help would be greatly appreciated!!!

    Daycare Help.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Using a time-frame, reference/paste a cell value

    Please show the expected result in the table for getting better understanding of your exact requirement


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    07-10-2014
    Location
    Utah, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Using a time-frame, reference/paste a cell value

    Hi - thanks for the response! I have attached what I would like it to look like (but calculated with a formula instead of hardcoded, of course)

    Daycare Help.xlsx

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Using a time-frame, reference/paste a cell value

    Quote Originally Posted by berrie View Post
    Hi - thanks for the response! I have attached what I would like it to look like (but calculated with a formula instead of hardcoded, of course)
    Thanks for the file but gak67 has already solved it in Post #3.

  5. #5
    Registered User
    Join Date
    07-10-2014
    Location
    Utah, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Using a time-frame, reference/paste a cell value

    Hey all - I figured out the issue. THANK YOU FROM THE BOTTOM OF MY HEART! I have been working on this for months - so glad to have it figured out!

  6. #6
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Using a time-frame, reference/paste a cell value

    Try this in B3 and copied down and across:
    Formula: copy to clipboard
    =SUMIFS($O$15:$O$24,$N$15:$N$24,B$2,$Q$15:$Q$24,"<="&$A3,$R$15:$R$24,">"&$A3)
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  7. #7
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Using a time-frame, reference/paste a cell value

    If you want the cells where there are no children to be blank rather than 0 there are a few options:

    You could check Excel help for Displaying and hiding zero values or try this formula:
    Formula: copy to clipboard
    =IF(SUMIFS($O$15:$O$24,$N$15:$N$24,B$2,$Q$15:$Q$24,"<="&$A3,$R$15:$R$24,">"&$A3)=0,"",SUMIFS($O$15:$O$24,$N$15:$N$24,B$2,$Q$15:$Q$24,"<="&$A3,$R$15:$R$24,">"&$A3))

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Using a time-frame, reference/paste a cell value

    Quote Originally Posted by gak67 View Post
    You could check Excel help for Displaying and hiding zero values or try this formula:
    I think, your first formula will be fine with the Accounting Formatting
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-10-2014
    Location
    Utah, USA
    MS-Off Ver
    2007
    Posts
    4

    Re: Using a time-frame, reference/paste a cell value

    Hey - thank you gak67! I have tried to figure out what you did to get that - so I can replicate it...and for whatever reason when I added new data to column three on the input table, it didn't show up in the count table (on the left)...but for the first two it worked like a charm.

    Maybe its a copying error on my part?

    Thanks again to everyone who has replied!

  10. #10
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Using a time-frame, reference/paste a cell value

    Hey man ,
    got the solution..
    check the attached file...




    Say thank, click *
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: Using a time-frame, reference/paste a cell value

    Hi Vikas ,

    i think u r confused , the requirement is to transfer the data in column O to B-K with respect to time in Column Q & R and client in N to Range B3-K39
    Punnam

+ 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] time line adding a specific time frame in each additional cell
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-23-2014, 10:22 AM
  2. vlookup time frame to match ceiling time
    By mrprofit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2014, 03:12 AM
  3. [SOLVED] Converting Time Frame based on Cell Values
    By reyrey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2013, 10:14 PM
  4. can not reference objectbuttons within frame
    By Langston in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-02-2009, 04:58 PM
  5. Copy and Paste macro needs to paste to a changing cell reference
    By loulou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2005, 07:06 AM

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