Forum Discussion
Do a search/sort/sum in an excel workbook and put results in another workbook
- Sep 19, 2021Just pouring through this now...it is perfect, thank-you!! still playing with how i can expand etc. YOU ROCK
Is it at all possible for you to post a copy of your actual workbook? It is very (VERY) difficult to respond to a verbal description such as yours in any way that one could feel confident about, especially given your own admitted lack of in depth experience with whatever one might offer.
So let me ask again, could you post a copy of the actual workbook (not just an image; the actual workbook)?
IF the actual workbook contains proprietary or confidential information (or private personal names and contact info), then a facsimile with false names, just to give us here some better sense first hand of the relationships your words have described, how the data on the various sheets are arrayed, etc.
mathetes just did...
I was trying to simplify in my description, but...
For example: in tab CINDY i will have a code in Column C. If that Code = 1 (or whatever), i want to add up the data included in Column B - Hours. This should happen for each line where Code = 1.
Then that data/formula should be referenced/displayed in workbook SUMMARY. IDC where, i havent set that up yet.
Thank-you for bothering to decrypt my message! Greatly appreciated!
- mathetesSep 16, 2021Silver Contributor
OK, here's a start. I've modified the sheets "CIndy" and "Allison" to make them Excel Tables, with the names "Cindy" and "Allison". Doing this makes it possible for you to continue to add rows to either of them and have the formulas take into account added rows.
I've also assumed that some hours will be coded "1" as you suggest, but that others might be coded 2 or 3, etc., so I've covered that possible scenario as well.
Then in the Summary sheet, the set up is as seen below, and the formula for cell D5 is visible in the formula bar, that being: =SUMIF(Cindy[CODE],D$3,Cindy[HOURS])
- sboland61Sep 19, 2021Copper ContributorJust pouring through this now...it is perfect, thank-you!! still playing with how i can expand etc. YOU ROCK
- sboland61Sep 19, 2021Copper Contributorgot the tables in and cleaned some other things up. I cannot get the other tab totals (Sharon, Suzanne, Capitol One, Mountain West and Monthly Operations to add up and map over to summary tab. I thought i would be able to replace the tab names in the formula from Cindy - > Sharon (for each tab). the formula: =SUMIF(Sharon[CODE],D$4,Cindy[HOURS]) results in an error. What is D$4?