Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Lookup between lines and columns

Please help me on this. I have this data:

Month1 Month2 Month3 Month4 Month5 Month6
Client 1 1.00 0.50 0.25 0.03 64.00 0.06
Client 2 2.00 1.00 0.50 0.06 32.00 0.13
Client 3 4.00 2.00 1.00 0.13 16.00 0.25
Client 4 32.00 16.00 8.00 1.00 2.00 2.00
Client 5 0.02 0.03 0.06 0.50 1.00 4.00
Client 5 16.00 8.00 4.00 0.50 0.25 1.00

in a different sheet I have cell A2 where I type the client and B2 where I
type the month. I need a formula in cell C2 that automatically gives me the
data based on the table above.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Lookup between lines and columns

Assuming your data is on Sheet2 in A1:G7

Enter this in C2 of your desired sheet
=VLOOKUP(A2,Sheet2!$A$1:$G$7,MATCH(B2,Sheet2!$B$1: $G$1,0)+1,FALSE)


"Byron720" wrote:

Please help me on this. I have this data:

Month1 Month2 Month3 Month4 Month5 Month6
Client 1 1.00 0.50 0.25 0.03 64.00 0.06
Client 2 2.00 1.00 0.50 0.06 32.00 0.13
Client 3 4.00 2.00 1.00 0.13 16.00 0.25
Client 4 32.00 16.00 8.00 1.00 2.00 2.00
Client 5 0.02 0.03 0.06 0.50 1.00 4.00
Client 5 16.00 8.00 4.00 0.50 0.25 1.00

in a different sheet I have cell A2 where I type the client and B2 where I
type the month. I need a formula in cell C2 that automatically gives me the
data based on the table above.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Lookup between lines and columns


in c2 put this formula =INDEX(sheet1!B2:G7,MATCH(A2,sheet1!
A2:A7,0),MATCH(B2,sheet1!B1:G1,0))


On Nov 6, 10:47*pm, Byron720
wrote:
Please help me on this. I have this data:

* * * * Month1 *Month2 *Month3 *Month4 *Month5 *Month6
Client 1 * * * *1.00 * *0.50 * *0.25 * *0.03 * *64.00 * 0.06
Client 2 * * * *2.00 * *1.00 * *0.50 * *0.06 * *32.00 * 0.13
Client 3 * * * *4.00 * *2.00 * *1.00 * *0.13 * *16.00 * 0.25
Client 4 * * * *32.00 * 16.00 * 8.00 * *1.00 * *2.00 * *2.00
Client 5 * * * *0.02 * *0.03 * *0.06 * *0.50 * *1..00 * *4.00
Client 5 * * * *16.00 * 8.00 * *4.00 * *0.50 * *0.25 * *1.00

in a different sheet I have cell A2 where I type the client and B2 where I
type the month. I need a formula in cell C2 that automatically gives me the
data based on the table above.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Lookup between lines and columns

Terrific ! it works great. Thank you

"Sheeloo" wrote:

Assuming your data is on Sheet2 in A1:G7

Enter this in C2 of your desired sheet
=VLOOKUP(A2,Sheet2!$A$1:$G$7,MATCH(B2,Sheet2!$B$1: $G$1,0)+1,FALSE)


"Byron720" wrote:

Please help me on this. I have this data:

Month1 Month2 Month3 Month4 Month5 Month6
Client 1 1.00 0.50 0.25 0.03 64.00 0.06
Client 2 2.00 1.00 0.50 0.06 32.00 0.13
Client 3 4.00 2.00 1.00 0.13 16.00 0.25
Client 4 32.00 16.00 8.00 1.00 2.00 2.00
Client 5 0.02 0.03 0.06 0.50 1.00 4.00
Client 5 16.00 8.00 4.00 0.50 0.25 1.00

in a different sheet I have cell A2 where I type the client and B2 where I
type the month. I need a formula in cell C2 that automatically gives me the
data based on the table above.

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
Lookup discontinued Lines paulhilton74 Excel Worksheet Functions 1 February 19th 08 10:27 PM
Lookup function - Wrong info when I add lines to reference spreads bkala Excel Discussion (Misc queries) 0 January 11th 08 05:10 PM
Lookup multiple lines Freeflyer Excel Worksheet Functions 2 January 26th 07 05:23 PM
Format new Lines into Columns efenili Excel Worksheet Functions 1 May 16th 06 06:09 PM
How do I add lines to my rows and columns? KatyKleymeyer Setting up and Configuration of Excel 1 August 2nd 05 06:27 AM


All times are GMT +1. The time now is 07:49 AM.

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"