#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VLookup or Macro?

Hi,
I have a massive excel book with the following,

1) Sheet 1 is the Efforts sheet (10000 rows) & there is
- one column per month (so there are like 30 months column)
- one column for Team Name &
- one column for a Unique ID

2) Sheet 2 is the Cost Sheet (10000 rows)
- Mirror image of Efforts sheet including columns

3) Sheet 3 is the Cost/Team Look up (10 to 12 rows)
- One column for team name & One column for Price for Team per hr

What is desired?

1) As we enter the efforts, the cost is updated based one the following
- Cost = Effort * Price for Team per hr

2) It should be possible to filter data to see in efforts.

My Current Solution?

INDEX(Effort!Range;MATCH(Unique ID;Range;0);2) *VLOOKUP(TRIM(Team_Name);Sheet3!Range;nPrice_Colum n;FALSE)

or another VLOOKUP instead of Index.

Problems:

1) Performance problems: I understand that the formula above is being run in all the cells (30 Cols * 10000 Rows) and it takes like 4 to 5 mins.

TO Note:
1) Not all efforts in efforts sheet are changed all the time

Questions?
1) Is it possible to only use changed cells to be recalculated? (Today when i just apply filter it will cause the entire sheet to recalculate)

2) Is it better to use Macro to identify and isolate the changed cells?

Thanks a lot
Karthik
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
Vlookup in a Macro Spinz Excel Programming 0 November 19th 08 02:53 PM
Vlookup Macro? ctwobits Excel Discussion (Misc queries) 0 December 6th 07 09:42 PM
vlookup macro MikeD1224 New Users to Excel 1 June 16th 07 04:37 AM
VLOOKUP in a macro?? chip_pyp Excel Programming 4 March 27th 06 09:46 PM
VLOOKUP in a macro?? chip_pyp Excel Discussion (Misc queries) 1 March 27th 06 09:40 PM


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