Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Formatting Data Lists

When I import data in cloumn A from my accounts package it is not lined up
against Column B which is previouly imported(expense code 102 is missing).
How can I line the rows up, as I need to subtract column A from column B
figures ?
A B
101 Wages 101 Wages
103 Adverts 102Training
104 Motor Expenses 103 Adverts
105 Light & Heat 104 Motor Expenses

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Formatting Data Lists

Hi Nige

I am assuming that there are 2 columns in each case, column A with the
Nominal code No. and Heading (101 Wages) and Column B with the value for
that code for that month.

You will need a sheet which has the complete set of Nominal code with no
gaps, lets call this sheet Master.
Lets call last month's data sheet 1, this month's data sheet2

On Master in cell B1 enter
=IF(A1="","",IF(ISNA(VLOOKUP(A1,Sheet1!A:B,2,0),
"",VLOOKUP(A1,Sheet1!A:B,2,0)))
copy down as far as required

In cell C1 repeat the formula, but change the sheet name
=IF(A1="","",IF(ISNA(VLOOKUP(A1,Sheet2!A:B,2,0),
"",VLOOKUP(A1,Sheet2!A:B,2,0)))

If you want to "fix" the data on Master, so it no longer needs to
reference another sheet, copy column B (for example) the Paste
SpecialValues back over the formulae to turn them into straight data
values

--
Regards

Roger Govier


"nigerobinson" wrote in message
...
When I import data in cloumn A from my accounts package it is not
lined up
against Column B which is previouly imported(expense code 102 is
missing).
How can I line the rows up, as I need to subtract column A from column
B
figures ?
A B
101 Wages 101 Wages
103 Adverts 102Training
104 Motor Expenses 103 Adverts
105 Light & Heat 104 Motor Expenses



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
sorting 2 colums of numbers and incremening them down blk&wht Excel Discussion (Misc queries) 10 October 9th 06 10:12 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
parsing data - formatting issue terri Excel Discussion (Misc queries) 11 March 6th 06 03:43 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


All times are GMT +1. The time now is 05:44 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"