Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
sc sc is offline
external usenet poster
 
Posts: 28
Default VLOOKUP help, help with tables

I have 2 tabs within my spreadsheet. Tab1 has the following columns:
Date......Code#....RunTime....Factor....Total
3/1/08...12...........1.45..........(blank)...(calcula ted)
3/1/08...10...........2.60..........(blank)...(calcula ted)
3/2/08...15...........3.68..........(blank)...(calcula ted)

The "Total" column will calculate once the "Factor" is known. The "Factor"
must be automatically selected from a table on Tab 2, depending on the value
which is input into the "Code#" column on Tab 1, above.

Tab 2 looks like this:
Code#.....Factor
10...........66
12...........86
15...........29

The "Factor" in the table on Tab 2 is calculated on a third tab, so the
factors will change periodically.

1. How do I set up an equation in the "Factor" column of Tab 1, so that a
value will be automatically chosen from the "Factor" column of Tab 2 based on
what the user inputs into the "Code#" column in Tab 1 (in other words, the
value input into the "Code#" column in Tab 1 will be compared to the table in
Tab 2, and the corresponding "Factor" from that Table in Tab 2 will be input
into the "Factor" column in Tab 1.

2. When the data in a third tab is changed, the "Factor" values in the table
in Tab 2 will automatically change. BUT....I do not want the values (either
the "Factor" shown in Tab 1 OR the calculated "Total" in Tab 1, to change for
all data entered up until that point. Only the new entries after the data
change should show new "Factors" and resulting "Total" calculations.

If anyone can help me with this, I would be thrilled.
Thanks so much in advance.
SC
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default VLOOKUP help, help with tables

Assuming that tab2 occupies A1:B4 of sheet2, here is a formula for the FACTOR
column of tab1:

=VLOOKUP(B2,Sheet2!$A$1:$B$4,2,FALSE)

That should do for question 1. As for question 2, I am not sure how to do
this, but try turning off auto table recalc:

Tools-Options-Calculation-Manual radio button (uncheck recalc before save)
--
Anne Murray


"SC" wrote:

I have 2 tabs within my spreadsheet. Tab1 has the following columns:
Date......Code#....RunTime....Factor....Total
3/1/08...12...........1.45..........(blank)...(calcula ted)
3/1/08...10...........2.60..........(blank)...(calcula ted)
3/2/08...15...........3.68..........(blank)...(calcula ted)

The "Total" column will calculate once the "Factor" is known. The "Factor"
must be automatically selected from a table on Tab 2, depending on the value
which is input into the "Code#" column on Tab 1, above.

Tab 2 looks like this:
Code#.....Factor
10...........66
12...........86
15...........29

The "Factor" in the table on Tab 2 is calculated on a third tab, so the
factors will change periodically.

1. How do I set up an equation in the "Factor" column of Tab 1, so that a
value will be automatically chosen from the "Factor" column of Tab 2 based on
what the user inputs into the "Code#" column in Tab 1 (in other words, the
value input into the "Code#" column in Tab 1 will be compared to the table in
Tab 2, and the corresponding "Factor" from that Table in Tab 2 will be input
into the "Factor" column in Tab 1.

2. When the data in a third tab is changed, the "Factor" values in the table
in Tab 2 will automatically change. BUT....I do not want the values (either
the "Factor" shown in Tab 1 OR the calculated "Total" in Tab 1, to change for
all data entered up until that point. Only the new entries after the data
change should show new "Factors" and resulting "Total" calculations.

If anyone can help me with this, I would be thrilled.
Thanks so much in advance.
SC

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 tables april Excel Discussion (Misc queries) 2 January 3rd 08 04:11 PM
VLookup Tables Jo-Jo Excel Worksheet Functions 3 November 18th 07 03:12 AM
VLookUp Tables Louise Excel Worksheet Functions 5 August 23rd 06 04:43 PM
VLOOKUP with TABLES Serge Excel Discussion (Misc queries) 8 April 28th 06 05:51 AM
VLookUp Tables Louise Excel Worksheet Functions 5 March 9th 05 04:01 PM


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