Thread: Is it possible?
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DakotaNJ
 
Posts: n/a
Default Is it possible?

Thanks RD, I am beginning to "see" the solution, but admit this is all very
foreign to me. So, using the array formula you provided, I was able to break
it down and modify it as necessary, but I still cannot understand a few
things. Please bear with me here.

I have modified the formula to fit specific cell values as follows:

YOUR VERSION:
=IF(COUNTIF(Main!$F$1:$F$100,$A$1)=ROWS($1:1),IND EX(Main!A$1:A$100,SMALL(IF(Main!$F$1:$F$100=$A$1,R OW($1:$100)),ROW(1:1))),"")

MY VERSION:
=IF(COUNTIF(FNb!$F$5:$F$154,$A$1)=ROWS($1:1),INDE X(FNb!A$5:A$154,SMALL(IF(FNb!$F$5:$F$154=$A$1,ROW( $1:$100)),ROW(1:1))),"")

OK, so "Main" now equals my main spreadsheet name "FNb"

"F1:F100" now equals the range of cells to evaluate for a match, that is
F5:F154 (this is where the DIV # is stored on the main spreadsheet).

A1 is the "label" of the lower spreadsheets. In this case the spreadsheet
is called FNbW and that value is located in A1 of the lower spreadsheet (as
it is for all spreadsheets)

I'm not sure what "=ROWS($1:1)" is?? Can you explain this so I can be sure
the formula here is correct?

As I understand this, using my specific labels, when I enter my information
in a row on the FNb spreadsheet, where the F-column entry equals "FNbW", then
the FNbW spreadsheet will recognize it and copy the entire row from the FNb
spreadsheet onto the FNbW spreadsheet.

Is that the methodology?

Feels like I am relatively close to getting this to work. I was able to
enter the array into cell A:3 (is this cell specific or just for example?).
I was able to CSE the array and get curly brackets.

I was not able to understand the instruction from there. Where do I copy it
to? And what range of cells do I use? I need to copy a row into a row of
the other spreadsheet. So, as you can see, I'm still confused here.

Thanks for your time. You should get an award for tolerating these questions!

Regards,
Dominick







--
Learning and growing everyday.


"Ragdyer" wrote:

Assume ... your "Main" sheet datalist starts with labels in Row1,
And goes from A1 to L100.

*All other* sheets have the Div # in A1,
So, labels in Row2, *exactly* matching the column labels in "Main".

Enter this *array* formula in A3 of *all* your other sheets:

=IF(COUNTIF(Main!$F$1:$F$100,$A$1)=ROWS($1:1),IND EX(Main!A$1:A$100,SMALL(IF(Main!$F$1:$F$100=$A$1,R OW($1:$100)),ROW(1:1))),"")

--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.

Now, after the CSE entry, copy this formula across to L3.
Then, select A3 to L3, and drag down to copy as far as needed.


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"DakotaNJ" wrote in message
...
OK, let me see if I can make this clear enough:

On the Main sheet it looks like this. These are in-plant accidents that I
investigate and track.

Acc#: Carr: Invest: Name: Dept: Div: Date: FDO: LT: RD:
Injury:
Part:
1 XXX Yes Sam AM 104 1-3 1-3 0 0
C X

The "other" tabs are specific to building (Div.). So, when I enter a line
item on the main spreadsheet, I need Excel to identify it using the DIV
cell
(in this case 104), then copy the entire line of info to the "104"
spreadsheet (or, obviously whichever on is applicable), which is exactly
the
same set-up as the main spreadsheet.

Right now, when I enter a line on the Master sheet, I simply copy/paste it
to the "other" sheet.

You folks are getting me pretty excited! I'm starting to think this may
be
possible.

This whole workbook is really coming along nicely. I have figured out how
to pull key figures from one sheet to another, then graph the figures in
yet
another. I'm just having a mental block with this final function, which
would allow the workbook to do all the actual work, leaving me to simply
enter the initial information.

Thanks for all your input!

Regards,
Dominick

--
Learning and growing everyday.


"RagDyer" wrote:

If I understand what you're looking for, it should be relatively easy and
uncomplicated.

Depending on the configuration of the data on your main sheet, you could
use
either a Vlookup() function or an Index & Match combination.

You would fill your "sub" sheets with these functions to pull the data
from
the main sheet, where the building ID would be the main criteria
determining
which sub sheet would be able to pull the data.

This assumes that one of the fields on the main sheet *does* contain the
individual building ID.

Post back with how your main sheet is set-up, and I'm sure you'll get
what
you're looking for.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"DakotaNJ" wrote in message
...
I have a workbook with several tabs. The top tab is the main
spreadsheet
were I enter all my gathered data. The other tabs are the same
spreadsheet,
the same data, but broken out by specific building.

Right now, I enter the data (alpha and numeric) into the main
spreadsheet,
then manually copy/paste it to the respective sub-level spreadsheet.

I can specify the "IF" part of the line item that would identify which
sheet
to copy it to, but is it possible to have a "THEN copy and paste [these
cells]" to the other spreadsheets?

Perhaps I am just dreaming here. However, looking through archives I
have
found solutions to so many things, and learned so much, I figure what
the
heck, I might as well ask!

Thanks for all the great info you folks pass around here. It has
helped
make me a "star" employee and allowed me to do some things no one even
thought was possible.
--
Learning and growing everyday.