Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
El Bee
 
Posts: n/a
Default vlookup error with subtotal

I have 4 worksheets in 1 spreadsheet. The 1st worksheet contains a summary
of subtotaled information on the other 3 sheets.

I subtotal sheets 2-4 after sorting the data by the date column.

In sheet 1 I use the vlookup function to capture the subtotaled fields based
on the date.

Here's the vlookup function:
=IF(ISERROR(MATCH($A14,Match_CDA_Date,1)),
0,
VLOOKUP($A14,CDA_Weekly_Totals,10))

This function works fine for weeks 1-8; after that I either get a zero or
erroneous data returned. This error occcurs in different cells for each
worksheet.
The error may start in row 10 for sheet 2, row 13 for sheet 3, and row 9 for
sheet 4.

Why does the vlookup work okay in some cells and fails in rows further down?
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
subtotal a range of cells on a different worksheet cheryl Excel Worksheet Functions 0 November 2nd 05 08:37 PM
Subtotal vs Pivot table - or best way klafert Excel Discussion (Misc queries) 2 June 16th 05 06:29 PM
Subtotal Bug in Excel 2003 GON Excel Discussion (Misc queries) 2 May 10th 05 08:42 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


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