+ Reply to Thread
Results 1 to 15 of 15

Need Help with Formula or Function Pulling Data to Another Tab

  1. #1
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Post Need Help with Formula or Function Pulling Data to Another Tab

    I was wondering if you might be able to help me with a formula and/or function. For example, I want to take the sum amount I spent on CCards (Sub-Category) from Expenses-Month tab and input that value to the January section on the Expenses-Year tab. Both tabs are on the same spreadsheet. I am so lost and have no idea how to solve this. But I have a feeling it's a simple solution to the pros out there..
    Attached Images Attached Images

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    A picture of a spread sheet is not much use to us - it would be better to attach a sample Excel workbook, as described in the yellow banner heading at the top of the screen.

    You would probably use the SUMIFS function to do what you are wanting to achieve. It would help if the entries in cell D2 and across are actual dates which are formatted to show just the first 3 letters of the month - the dates should be the 1st of the month.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Post Re: Need Help with Formula or Function Pulling Data to Another Tab

    Hi Pete,

    Thanks for the reply and feedback. I'm not exactly certain what you mean. I'm learn visually, which is kind of a curse. Can you please show me what you mean with screenshots? Here's a link to a sample sheet per your suggestion.Sample Budget Spreadsheet.xlsx

    Thank you and kind regards,

    Jason

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

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    The screenshots are of a GoogleSheet, so I'm moving this to the GoogleSheets section.

    Screenshots give visual clues, but we can't use them to test a solution - that's why you need to provide a workbook.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    First of all, you need to ensure that the dates going across row 2 in the Year sheet tie in with the year that the data relates to - they are set to 2016 in your sample file. You can change them all manually if you wish, but it would be easier if you put 1/01/2023 in cell D2, and then this formula in E2:

    =EDATE(D2,1)

    which will move the date on by one month. Copy this formula across into F2:O2.

    Then in D4 you could have this formula:

    =SUMIFS('Expenses-Month'!$C$5:$C$95,'Expenses-Month'!$F$5:$F$95,$C4,'Expenses-Month'!$B$5:$B$95,">="&D$2,'Expenses-Month'!$B$5:$B$95,"<="&EOMONTH(D$2,0))

    which will sum the entries in the Monthly sheet for January where column F contains CCard. This formula can be copied across to column O for the other months, although there is no data for those months in your sample sheet.

    Hope this helps.

    Pete

  6. #6
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    In addition to the formula that Pete_UK provided, you need to go to the Expense-Year sheet and change the year in cells D2 to O2 from 2016 to 2023. That should make things work for you.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    That's what I said in my first paragraph.

    Pete

  8. #8
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    Sorry Pete, I missed that.

  9. #9
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    Thanks to all of you for the tips. I'll try that out and see what happens... Much appreciated!!!

  10. #10
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    IT WORKS!!!! YES!!! This is amazing!!! Thank you everyone again SO MUCH!!!!

  11. #11
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    For some reason, when I copy the formula over to the columns (E to O) for the other months, the total always displays $0 and not the actual value. I'm not sure why..

  12. #12
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    For some reason, when I copy the formula over to the columns (E to O) for the other months, the total always displays $0 and not the actual value. I'm not sure why..
    Attached Files Attached Files
    Last edited by qu4dr00p1e; 03-16-2024 at 02:31 PM. Reason: Workbook attached.

  13. #13
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    The first value in February for Ccard occurs on row 116, whereas the ranges for your SUMIFS formula in the Expenses_Year sheet only go up to row 95.

    Hope this helps.

    Pete

  14. #14
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    Oh I see what you mean. I extended the range to 5000 and it worked (I think). Thank you again Pete_UK !!

  15. #15
    Registered User
    Join Date
    03-09-2024
    Location
    Seattle, Washington
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Need Help with Formula or Function Pulling Data to Another Tab

    How could I add a filter to quickly view on transactions from 2023 and 2024 and for future years for both Expenses and Income tabs?

+ 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] SUMIFS function pulling data from another worksheet will not work!
    By Funkymonkey0073 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2022, 05:12 AM
  2. Pulling in SEARCH function data from a matrix without blanks
    By nicholap in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2021, 03:07 AM
  3. VBA Function pulling the last set of data from a filtered table
    By Godssent2 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-19-2019, 11:10 AM
  4. User defined function, pulling data from another worksheet
    By topnotchthrillr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2015, 10:00 PM
  5. Replies: 4
    Last Post: 08-18-2012, 01:34 PM
  6. What function to use for pulling data
    By groomersbest in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-04-2012, 11:15 AM
  7. Pulling Data off Web - Need Function Help
    By patfergie44 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-21-2006, 10:30 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