Automatically updating multiple Excel worksheets from one "master" worksheet?
July 9, 2009 11:54 AM Subscribe
How to automatically breakout Excel worksheets based off one "master' worksheet?
I inherited an Excel spreadsheet that is being used to to track individual orders. It is built so each order has its own row and the columns reflect various information (i.e. state)
My boss wants data entry done on the "master" worksheet. Then he wants the other sheets to automatically update given certain criteria. (For example, all orders placed in California.)
Let's say the state column is Column A and the values are simple two letter postal codes.
How would I write a function that would say if A2 is CA, then paste 2 here and if A2 is not CA, go to row 3 and check for CA?
posted by entropicamericana to computers & internet (9 answers total) 1 user marked this as a favorite
Places to start:
SUMIFS(sum_range; critera_range1, critera1; [etc])
- with the critera of "CA" (probably specified somewhere on the second sheet)
if the sumrange is Column B, and the criteria range is Column A of the same length, and the criteria is "CA" or a cell with the text "CA" then you'll have a sum of all values with "CA"
VLOOKUPS
(Careful with these, data needs to be sorted or things go whacky, tables with 70K records tend to be brute forced meaning things get painful) - keep in mind that you can't be looking up something that occurs twice unless you do some funky stuff with key creation...
PivotTables and GETPIVOTDATA also are great friends
posted by Nanukthedog at 12:25 PM on July 9, 2009