Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default appending data

Hi, I have an excel file with several tabs (tabs A-E) of client data
for each city, plus an additional tab (tab F) with data which I need
to append to these tabs (in tab F, column B stores the city which each
row of data belongs to). The workbook already has a macro that
calculates subtotals for the client data for each city. What would be
the formula to automatically append the data in tab F to below the
respective tabs A-E subtotals?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,805
Default appending data

Let us say Tab F has five columns
B- City Name and C-F data for that city
Further suppose you have City name in Col A in each city say in A100
then you can get col C-F in each tab if you enter
=VLOOKUP(A100,F!A:E,2,False) for Col C value
=VLOOKUP(A100,F!A:E,3,False) for Col D value
=VLOOKUP(A100,F!A:E,4,False) for Col E value
=VLOOKUP(A100,F!A:E,5,False) for Col F value

Note that you need to change only the column index

"mtzc" wrote:

Hi, I have an excel file with several tabs (tabs A-E) of client data
for each city, plus an additional tab (tab F) with data which I need
to append to these tabs (in tab F, column B stores the city which each
row of data belongs to). The workbook already has a macro that
calculates subtotals for the client data for each city. What would be
the formula to automatically append the data in tab F to below the
respective tabs A-E subtotals?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default appending data

Thanks very much!

All the best
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
Appending Data Jordan Excel Discussion (Misc queries) 1 July 31st 09 07:14 PM
Appending data from one WB to another WB by date: KR Setting up and Configuration of Excel 0 October 7th 08 03:54 AM
Formula for appending data DS Excel Worksheet Functions 0 August 23rd 05 10:35 PM
Appending data with VBA mr.mcfly Excel Programming 1 February 17th 05 03:40 PM
Appending data from one sheet to another. Simon Excel Programming 3 November 13th 03 07:32 AM


All times are GMT +1. The time now is 09:10 PM.

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

About Us

"It's about Microsoft Excel"