Copy data into another worksheet and have it update automatically?

G

Guest

My boss sent me a workbook that at present contains only one sheet, however
he wants me to copy certain data (depending on column A) into a second sheet
and other data into a third sheet, but have it update on sheets 2 and 3 when
the data on sheet1 is changed, added, or deleted. Column A contains a
general classification, and he wants certain classifications on sheet2 and
other classifications on sheet3. There are no formulas, just data. It's
just a big list of materials and their locations and vendors, etc. Can this
be done?
 
G

Guest

Tell your boss it's far easier (and likely to be more accurate, too) to leave
it all in one sheet and then use Data>Filter> to present a selected subset of
the data.
 
G

Guest

Thanks... but is there a way to make the filter include more than one
category? He wants 5 different categories to show at once for one report,
and just one category for another report. Sorry if I seem helpless, but it's
been 8 years since I got my MOUS certification in Excel - my memory has since
diminished when it comes to aspects I haven't used in the 8 years since.
 
G

Guest

Well, does that mean there are 6 categories all together?

If so, show the 5 by setting the filter to Custom and then set it <> the one
you don't want.

If you have more than 6 categories, you can add a helper column that
contains a formula like (assumes the category is in col C):

=IF(OR(C2={"t","u","v","x","y"}),"Inlcude","Exclude")

Copy the formula down, then filter on this new column.
 
G

gjcase

And if your boss still insists on separate sheets, you could have eac
cell on Sheets 2 & 3 = the corresponding cell on sheet A, and the
apply the filters on Sheets 2 & 3. Your boss would think you did i
his way...

---GJ
 
G

Guest

Thanks so much, that's exactly what I'm going to do! I think he's pretty set
on separate sheets for each. He also wants me to show him how I did it once
it's done, that'll be the toughest part! Thank you all for your help!!
Happy Friday!!!
 
G

Guest

One more thing ~ when I go to copy and paste link on the 2nd sheet, it won't
let me paste the link if I select the "skip blanks" option. Is there a way
around this? There's a heck of a lot of 0's on that sheet!
 
G

gjcase

One way is to use an IF statement rather than a straight link.

Insert =IF(Sheet1!A1="","",Sheet1!A1) in cell A1 of both Sheets 2 & 3
and then copy them across the entire range. This will make all blank
cells on Sheet 1 appear blank on Sheets 2 & 3 and should still work
okay with filters & sums.

Not sure if there's a way to do this by formatting 0s to be blanks,
perhaps someone else can address that?

---GJC
 
G

Guest

Thanks! I actually found this in Excel Help and think it's a bit simpler:

Use a number format to hide zero values in selected cells
Caution Follow this procedure to hide zero values in selected cells. If the
value in one of these cells changes to a nonzero value, the format of the
value will be similar to the general number format.

Select the cells that contain the zero (0) values that you want to hide.
On the Format menu, click Cells, and then click the Number tab.
In the Category list, click Custom.
In the Type box, type 0;-0;;@
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top