+ Reply to Thread
Results 1 to 18 of 18

Help with consolidated sheet pulling data from daily sheets & formula date incrementing

  1. #1
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Help with consolidated sheet pulling data from daily sheets & formula date incrementing

    Hi Good day. I have a consolidated monthly spreadsheet that is pulling data from the daily spreadsheets for that month but I have to manually adjust the dates in the consolidated sheet to pull the correct information in. It requires me going through many columns and changing the date to correlate with the correct daily sheet.

    Current my formulas are as follows

    ='U:\Bookkeeper\DTS\2024\APRIL 2024\[01-04-2024.xlsx]00'!$D$9

    and I want to know if there is an easy way to copy the formula down in a column and just increment the date only so the next cell down would be

    ='U:\Bookkeeper\DTS\2024\APRIL 2024\[02-04-2024.xlsx]00'!$D$9

    and the next cell down would be

    ='U:\Bookkeeper\DTS\2024\APRIL 2024\[03-04-2024.xlsx]00'!$D$9

    As you can see it is only the date that is needed to change in each cell but maintaining the rest of the formula without change as the consolidated sheet pulls data from the same cell in each daily sheet. Hope this makes sense and that someone can assist with the solution.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Welcome to the forum.

    Would this be just for one calendar month?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi there. I would be using a consolidated sheet for each month which would be linked to each daily sheet in that specific month. SO I will have 12 consolidated months files
    So short of me having to change each cells formula with the incremented date I was hoping there is an easier way.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    That's not quite what I meant. In any one sheet, will it just be one calendar month?

  5. #5
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi AliGW

    Thank you for the warm reception. I am glad I found this forum. It will be a great help moving forward.

    I would be using a consolidated sheet for each month which would be linked to each daily sheet in that specific month. SO I will have 12 consolidated months files
    So short of me having to change each cells formula with the incremented date I was hoping there is an easier way.

    I have uploaded samples but not sure how to show the attachement here.
    Last edited by Sean Goldie; 03-25-2024 at 01:07 PM.

  6. #6
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi, the consolidated sheet will have a full calendar month.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    You've just repeated what you already told me.

    So, will all of the April 2024 URLs be on one sheet with no other month?

    Just a 'yes' or 'no', please.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Try this:

    =LET(d,DATE(A1,MONTH(DATEVALUE(A2&" 1")),1),l,DAY(EOMONTH(d,0)),"'U:\Bookkeeper\DTS\2024\APRIL 2024\["&TEXT(SEQUENCE(l,,d,1),"dd-mm-yyyy")&".xlsx]00'!$D$9")

    It uses the data in cells A1 and A2 - see if you can make it work for you.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Unfortunately this did not work for me as I need it to, thank you anyway.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Well, that's probably because you failed to answer my questions and it had to be a guess.

    Happy to look again, but ONLY if you answer my questiins first AND explain in DETAIL what is 'not working'.

  11. #11
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi AliGW, please bear with me as I am not as advanced as you when it comes to microsoft excel. I am attaching the excel spreadsheets I am going to use in June as an example of what I would need the formula to do.
    In the consolidated excel sheet I will need the date only to change in the formula in the relative columns and cells.

    The consolidated sheet attached as an example is what I have already manually changed for that month.

    I hope these examples will give a better indication of what I am trying to achieve.

    Best regards

    Sean Goldie
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    please bear with me as I am not as advanced as you when it comes to microsoft excel.
    You don't need to be advanced in Excel to answer questions, which, by the way, you still haven't. If you want help, you need to do so. I'll have another look.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    So, you are going to need to test this for yourself.

    Remove ALL values from cells F6 to F36, then paste this into F6 and hit ENTER.

    =IFERROR(INDIRECT("'C:\Bookkeeper\DTS\2024\APRIL 2024\["&TEXT(DATE(RIGHT(F1,4),MONTH(DATEVALUE(TEXTBEFORE(SUBSTITUTE(F1,"'","")," ")&" 1")),B6:B36),"dd-mm-yyyy")&".xlsx]00'!$E$6"),"")

    Does it produce the correct results? If not, what is not working and in what way? Be very specific. If you aren't, then I shall find it very difficult to assist further, as I'll be stabbing in the dark (again).

    If it DOES work, I can explain how to adapt it for other columns.
    Attached Files Attached Files
    Last edited by AliGW; 05-26-2024 at 04:10 AM. Reason: Typo fixed.

  14. #14
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi, no this does not produce the result I am looking for. Cell F6 in the consolidated sheet needs to pull the data from cell E6 in the daily DTS sheet dated 01-06-2024. Cell F7 in the consolidated sheet needs to pull data from cell E6 in the daily DTS sheet dated 02-06-2024 and so forth.

    I hope this clarifies what I need.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    In what way is it not working? Is the result wrong? Is it failing to pull anything at all? Are the source sheets in the correct location (on drive C)?

    I know what it's supposed to do - there's no need to repeat that. What I need to try to work out is why it's failing, so concentrate don that, please, in your responses.

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    OK - I have tested this and it WORKS.

    Please paste this into F6 and drag copy down:

    =IFERROR(INDIRECT("'C:\Bookkeeper\DTS\2024\APRIL 2024\["&TEXT(DATE(RIGHT(F1,4),MONTH(DATEVALUE(TEXTBEFORE(SUBSTITUTE(F1,"'","")," ")&" 1")),B6),"dd-mm-yyyy")&".xlsx]00'!$E$6"),"")

    The source workbook needs to be open. If this isn't what you want, then I think you'll need to look at VBA.
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    03-25-2024
    Location
    South Africa
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20058) 64-bit
    Posts
    8

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    Hi so the first cell F6 is pulling the correct data now, however I have to change the F value in the formula to F1 in every other cell to pull the correct data in. (F2,),MONTH(DATEVALUE(TEXTBEFORE(SUBSTITUTE(F2,"'","") in this I have to change F2 to F1 to pull in the correct data. Then F3 needs to change to F1 again to pull in the correct data. Can the formula only point to F1 as the data source?

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Help with consolidated sheet pulling data from daily sheets & formula date incrementin

    No, that's my error. Please change the formula to this and copy down:

    =IFERROR(INDIRECT("'C:\Bookkeeper\DTS\2024\APRIL 2024\["&TEXT(DATE(RIGHT(F1,4),MONTH(DATEVALUE(TEXTBEFORE(SUBSTITUTE($F$1,"'","")," ")&" 1")),B6),"dd-mm-yyyy")&".xlsx]00'!$E$6"),"")

    Is this now working?

+ 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. Copy data from multiple sheets to a consolidated sheet.
    By kayslover in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2021, 08:48 AM
  2. Replies: 6
    Last Post: 08-30-2020, 03:51 PM
  3. Pulling Data from Multiple workbooks to one consolidated sheet
    By Stokess in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-31-2018, 06:03 PM
  4. [SOLVED] Pulling data together from several sheets for a given date to a another sheet
    By sipa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2014, 11:57 AM
  5. Replies: 29
    Last Post: 03-17-2014, 06:54 PM
  6. [SOLVED] Date in Consolidated sheet does not match date in sheets being consolidated
    By Lowtech in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-15-2012, 07:23 PM
  7. Pulling data from one sheet and updating certain cells daily
    By myshadeofglory in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-12-2011, 06:04 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