+ Reply to Thread
Results 1 to 27 of 27

Need help with formula to bring information ($$) from multiple sheets to one main sheet

  1. #1
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Need help with formula to bring information ($$) from multiple sheets to one main sheet

    I am trying to figure out the best way to get information between sheets. I have formulas (very basic) to move from one sheet to another and then back, but I can't figure out the best way to do it. I attached my course fees spreadsheet.

    I cannot use a macro (not allowed by IT) or else I would have done that but I need to figure out the best way to get the money amounts from another sheet back to my main one. I have a pivot table so I can see the overall totals since I can't resort my Home page. Sheet F-1360 has some information that shows what I need to do. I attempted to change things with Sheet F-Draw, but that doesn't seem to be prudent either.

    I feel like I am close on this and just need to know what formula would actually work. I thought about VLOOKUP but it seems to me this is only for finding information and repeating it back in another place. I am not an expert by any means, but I am happy to learn and will do my best to understand what you guys think would work.
    Attached Files Attached Files
    Last edited by Agenduh; 07-17-2018 at 10:27 AM.

  2. #2
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    You CAN attach a workbook!

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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.

  3. #3
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Thank you for that hint! I have it uploaded now. I think I am trying to make things too difficult.

  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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Mmmm. I am going to have to be cruel to be kind here, so avert your eyes if your are at all sensitive!

    The layout of the workbook needs completely rethinking. Data needs to be collated in normalised format. All data should be collated in one central place and then read from in other areas where you can have your more aesthetic reports. Having so many different worksheets is going to cause you grief in the long run. You are falling into what we sometimes refer to as 'rookie mistakes', and therefore you are about to recreate Frankenstein's monster in an Excel workbook.

  5. #5
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Not super sensitive. I know enough to make me dangerous, but not enough to actually get things done efficiently. So, you think I should have one sheet with the ordering information and what class they go to and then another sheet where it adds up the classes? I don't know how to do that without using a macro. Is there a formula I should be looking towards using?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    I agree with Ali. Is there any compelling reason why you have a sheet for each "name"?

    I combined a few sheets, (just copied to the right of the existing data each time), and the format of 1's I did, look to be pretty much identical - except for some names and amounts.

    Perhaps consider just adding 2 extra columns, 1 for what you now have a sheet names, and the 2nd for the name (B3 etc), then just list all data 1 below the other. It can even be mixed up and swapped around, it wont matter. Also, wont need to keep searching for which sheet to use

    Then on another sheet/s you could do extracts, summaries etc (far easier) based on what you want to see
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Quote Originally Posted by Agenduh View Post
    Not super sensitive. I know enough to make me dangerous, but not enough to actually get things done efficiently. So, you think I should have one sheet with the ordering information and what class they go to and then another sheet where it adds up the classes? I don't know how to do that without using a macro. Is there a formula I should be looking towards using?
    Sorry, just saw this.

    Yes, there are many formulas that could be used to do what you want. You tell us, and we can (probably) tell you.

  8. #8
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    The only reason I have the different sheets was to keep track of things, but they are not necessary. I really need to know how much each class can spend (based on enrollment), how much they have spent, and how much they have left. I have it done by the different faculty so I can keep track of how much they are doing. I didn't want to do it by classes since that would have made even more sheets. If I make one sheet have Vendor, spent, course, and instructor I could do a pivot table to add up the stuff, but I don't know how to keep up with how much they have to spend and how much they have left to spend.

    As you can see I have confused myself and am not sure where I should go with this.

  9. #9
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Quote Originally Posted by FDibbins View Post

    Yes, there are many formulas that could be used to do what you want. You tell us, and we can (probably) tell you.
    I thought about VLOOKUP but I am pretty sure that won't actually add or subtract things. I don't know enough about formulas that are not count or sum, but I'm thinking maybe SUMIF... I am trying to read about that at the moment.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Quote Originally Posted by Agenduh View Post
    As you can see I have confused myself and am not sure where I should go with this.
    Thats what we are here for, to add to the confusion (sorry, I jest lol). No, we can help reduce the confusion, and offer decades of experience (probably centuries, if you add up all the members experiences here) to you. There is unlikely to be any topic/problem, that at least 1 or 2 of our members have not already run into, and most of the seniors here, even if you have not seen it, can probably do it, given enough info.

  11. #11
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    What you don't want to be doing is adding things on satellite sheets that then need adding to other sheets: do it all centrally. Who needs access to this?

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Trying to combine a few sheets for you, they all seemed to be names ART-and then a number. What does the name next to it represent (Barwick)?

    Im thinking that for headings, you would need Class, "that" name, Vendor, Amt Spend, Balance, then you have value above each table?

  13. #13
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Barwick is the instructor's name. I am thinking I can use the crse and sec number to create something the SUMIF function could look for (104509) so I can have it go to a column next to that class. Am I on the right track of using SUMIF?

    As for who has to see this, really just me so I can tell people how much they have left to spend as soon as they ask.

  14. #14
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    OK, so if it's just you, then there is absolutely nothing stopping you from having one central point of data entry. One table will be enough, which can then be filtered, sliced and pivoted to produce the reports you need.

    Think what constitutes a record. It could be this:

    Worker ID - department - supervisor - payment type - payment amount - income type - income amount

    Am I on the right tracks here in terms of the data that you need to analyse?

  15. #15
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    I need to analyse how much they are getting per class, how much they have spent, and how much they have left.

    I tried to do it so I have one page with all of the information on it and then a second sheet with the ordering information and then used this formula: =SUMIF(Sheet2!C2:C30, "104509", Sheet2!B2:B30) and it seems to be adding things... so then I could just do a pivot table or simple subtraction from there right?

  16. #16
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Act Spending Spent Left to spend
    14 1260 202 1058

    Spending =SUM(I2*90)
    Spent =SUMIF(Sheet2!C2:C30, "104509", Sheet2!B2:B30)
    Left to spend =SUM(J2-K2)

    This seems to simplify my workbook and keeps everything to 2 sheets. Does it seem like this will work in the long run?

  17. #17
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Yes - it's the KISS principle, isn't it? What more do you need? You can then extract the data in whatever format you need in order to send them their summaries.

  18. #18
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Anything that makes this simpler and easier for you - is right. There may be other, easier (to us) ways to do this, and if we see them, we will advise. But, whats most important for me, is that YOU need to understand what has been done, and if that means using a slightly less efficient method or function, then so be it. YOU are the 1 that needs to maintain this, and if it is full of formulas you really dont understand, it could become a pain for you to change anything.

    You already seem to know stuff like sumif and countif and PT's, but there is also sumifS and countifS that could be useful (they allow for more that 1 criteria to be tested)

  19. #19
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Quote Originally Posted by Agenduh View Post
    Act Spending Spent Left to spend
    14 1260 202 1058

    Spending =SUM(I2*90)
    Spent =SUMIF(Sheet2!C2:C30, "104509", Sheet2!B2:B30)
    Left to spend =SUM(J2-K2)

    This seems to simplify my workbook and keeps everything to 2 sheets. Does it seem like this will work in the long run?
    My suggestion is you set up your data extract sheet to show what you need to show (have several, if that works for you). No need yet to add formulas, just set it up how you think you need it. THEN start adding formulas to return what you want. If you hit a bump, we are here to help you further.

    Again, the more you can do for yourself, the better off YOU will be, in the long run - you will learn more and be more confidant in your abilities to maintain AND add/change as needed.
    (give a man a fish, and all that)

  20. #20
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    I think I had the answer in me the whole time and I just needed you guys to pull it out. Thank you so much! I've been a member for 7 years and this is the first time I've posted. I have read a lot of things on here, but I just didn't see the one that would stand out.

    I appreciate being told I was stupid (in not so many words) to make me think a bit more about it. I am on the right track now and will be changing a few of my other spreadsheets that I have been doing the same thing on for years. KISS is the way to go for sure!

  21. #21
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    NO WAY did either of us say or even imply that you are stupid!!! However, I am so glad that you were open to suggestion - it's a case of not being able to see the wood for the trees sometimes.

  22. #22
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    If it appeared that I implied you were stupid, then please accept my sincere apologies - that was not intended.

    This is just a case if "if you dont know, you dont know" We have seen this situation many times with new users of excel, and generally always offer the same advice. It is similar to someone asking - so what can I do in excel?

    Once you start playing around, and trying to find better/other ways of how you have always done things, you will uncover all sorts of functions and tricks that we take for granted - and each 1 you find will be a "ahaaa" and/or "duh" moment for you

    I already gave 1 piece of advice - YOU have to understand what you have done.
    My other piece of advice is - dont be afraid to play and test things. The more you play around, the better you will become.

    Look at some of the questions on here, and see what suggested formulas there are. Try and see how they work (for complex 1's, generally start inside and work outwards), see if you can follow along and then see if you can figure out a different way.

  23. #23
    Registered User
    Join Date
    07-18-2011
    Location
    Clarksville, TN
    MS-Off Ver
    Excel LTSC professional plus 2021
    Posts
    12

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    I really didn't think you guys implied that I was stupid, but I took it that way and it was good for me since it made me stretch my brain a bit. :D No worries!

    I love to make things easier and am open to change so I needed the push to make me think. Stupid may be too harsh a word, but I really don't have any ill feelings about anything that was said.

    I should play around more, but I generally don't have the wherewithal to do so. I appreciate the push and hopefully will get even better. At least the people around here think I'm an expert...but you saw my spreadsheet! :D

  24. #24
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    You will become expert if you do what Ford has suggested - all great advice. We are always happy to help - it's our main motivation for being here (by 'we', I mean those of us who offer solutions here).

  25. #25
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    What were the immortal words of Forrest? "stupid is as stupid does" Well you certainly didnt "does" here

    We always try and push members here. the trick is in knowing how MUCH to push. We could show you some really complex stuff that would take you ages to try and understand - but that really wouldnt help you, and may even discourage you. Baby steps

  26. #26
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    Quote Originally Posted by AliGW View Post
    You will become expert if you do what Ford has suggested - all great advice.
    aaww shucks, thanks Ali, you made me blush

  27. #27
    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,853

    Re: Need help with formula to bring information ($$) from multiple sheets to one main shee

    My pleasure.

+ 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. Autopopulating multiple sheets from one main sheet
    By HayleyN in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2017, 01:27 PM
  2. Replies: 16
    Last Post: 06-21-2017, 07:25 PM
  3. Replies: 2
    Last Post: 07-25-2016, 09:35 AM
  4. Populate data from one main sheet to multiple sheets
    By dfulmer in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-31-2012, 05:24 PM
  5. [SOLVED] VBA to create multiple worksheets, rename, and insert information all off main sheet ...
    By headstrong2740 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-03-2012, 10:24 AM
  6. Replies: 2
    Last Post: 07-10-2012, 05:00 PM
  7. Replies: 8
    Last Post: 02-13-2012, 06:35 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