Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 27
Default Copying Selective Data Between Worksheets

I am setting up a simple accounts workbook

I have one sheet with 11 column headings and as each transaction is
allocated to a department

I then have a worksheet for each department -

I am trying to get it so that when an entry is made in the main sheet it
also appears in the department sheet also

I have used the following formulas but now the main sheet has passed Row 31
the data is not being picked up on the dpartment sheets

In Cell B6 on the dept sheet

=IF($A$6="","",IF(Summary!B6=A$6,ROW(),""))


In Cell C6 and then copied across the Columns

=IF(ROWS($5:5)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($5:5))))

I would appreciate any assistance

thanks

--
JohnM
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default Copying Selective Data Between Worksheets

I'm having a little trouble picturing what is going on in your workbook. I
think I could help if I had the workbook to examine and help set up. So, if
no one else provides a solution for you and if you want for me to look at it,
send it as an email attachment to (remove spaces)
HelpFrom @ JLathamSite . com
and I'll do what I can with it for you.


"JohnM" wrote:

I am setting up a simple accounts workbook

I have one sheet with 11 column headings and as each transaction is
allocated to a department

I then have a worksheet for each department -

I am trying to get it so that when an entry is made in the main sheet it
also appears in the department sheet also

I have used the following formulas but now the main sheet has passed Row 31
the data is not being picked up on the dpartment sheets

In Cell B6 on the dept sheet

=IF($A$6="","",IF(Summary!B6=A$6,ROW(),""))


In Cell C6 and then copied across the Columns

=IF(ROWS($5:5)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($5:5))))

I would appreciate any assistance

thanks

--
JohnM

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,480
Default Copying Selective Data Between Worksheets

Hi John

What are your column headings?
If you have multiple headings which just hold the department name, and you
are allocating a value to that department column, you should consider
changing your layout.
Have a single column for Amount and a single column for Department, into
which you enter the department name (from a dropdown Data Validation list if
required).
Then summarise with a Pivot Table to give your Departmental totals, without
the need to transpose any data to any other sheet.

If you want more help on how to do this, post back with an example of your
data layout.
--
Regards
Roger Govier

"JohnM" wrote in message
...
I am setting up a simple accounts workbook

I have one sheet with 11 column headings and as each transaction is
allocated to a department

I then have a worksheet for each department -

I am trying to get it so that when an entry is made in the main sheet it
also appears in the department sheet also

I have used the following formulas but now the main sheet has passed Row
31
the data is not being picked up on the dpartment sheets

In Cell B6 on the dept sheet

=IF($A$6="","",IF(Summary!B6=A$6,ROW(),""))


In Cell C6 and then copied across the Columns

=IF(ROWS($5:5)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($5:5))))

I would appreciate any assistance

thanks

--
JohnM


  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copying Selective Data Between Worksheets

You should use always ROWS($1:1) for the top extract formula in C6
Try this in C6, copied across/fill down (together with your formula in B6):
=IF(ROWS($1:1)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($1:1))))

Note that B1:B5 should be left empty
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"JohnM" wrote:
I am setting up a simple accounts workbook

I have one sheet with 11 column headings and as each transaction is
allocated to a department

I then have a worksheet for each department -

I am trying to get it so that when an entry is made in the main sheet it
also appears in the department sheet also

I have used the following formulas but now the main sheet has passed Row 31
the data is not being picked up on the dpartment sheets

In Cell B6 on the dept sheet
=IF($A$6="","",IF(Summary!B6=A$6,ROW(),""))

In Cell C6 and then copied across the Columns
=IF(ROWS($5:5)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($5:5))))


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default Copying Selective Data Between Worksheets

Max,
I do believe your fix is THE fix. He sent me the workbook, I applied your
fix and the existing results remain as they were plus the additional entries
that were missing have now shown up. He had one other issue with a change in
the row numbers farther down the worksheet in question, but by filling the
formulas down that has also been taken care of.

Thanks for handing me the answer on that silver platter.

"Max" wrote:

You should use always ROWS($1:1) for the top extract formula in C6
Try this in C6, copied across/fill down (together with your formula in B6):
=IF(ROWS($1:1)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($1:1))))

Note that B1:B5 should be left empty
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"JohnM" wrote:
I am setting up a simple accounts workbook

I have one sheet with 11 column headings and as each transaction is
allocated to a department

I then have a worksheet for each department -

I am trying to get it so that when an entry is made in the main sheet it
also appears in the department sheet also

I have used the following formulas but now the main sheet has passed Row 31
the data is not being picked up on the dpartment sheets

In Cell B6 on the dept sheet
=IF($A$6="","",IF(Summary!B6=A$6,ROW(),""))

In Cell C6 and then copied across the Columns
=IF(ROWS($5:5)COUNT($B:$B),"",INDEX(Summary!A:A,S MALL($B:$B,ROWS($5:5))))




  #6   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Copying Selective Data Between Worksheets

Jerry,
Thank for your note. Glad that did it for the OP.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"JLatham" wrote:
Max,
I do believe your fix is THE fix. He sent me the workbook, I applied your
fix and the existing results remain as they were plus the additional entries
that were missing have now shown up. He had one other issue with a change in
the row numbers farther down the worksheet in question, but by filling the
formulas down that has also been taken care of.

Thanks for handing me the answer on that silver platter.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying data across worksheets Maki Excel Discussion (Misc queries) 2 September 15th 08 02:40 PM
Copying selective data leerem Excel Discussion (Misc queries) 3 August 3rd 08 04:41 PM
Merging multiple worksheets (selective cells) Soultek Excel Discussion (Misc queries) 1 February 22nd 07 06:54 PM
Selective linking items between two worksheets dd Excel Worksheet Functions 9 September 15th 06 11:20 PM
Copying data across different worksheets Nic M Excel Discussion (Misc queries) 4 May 8th 06 09:30 PM


All times are GMT +1. The time now is 03:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"