PC Review


Reply
Thread Tools Rate Thread

Assistance please

 
 
Gauri
Guest
Posts: n/a
 
      25th Jun 2008
Hi,

I have two tables A and B.

Table A
Code Jun
ABC 34
XYZ 50

Table B
Code Jun Jul Aug Sep
ABC 34 20 10 15
XYZ 50 38 90 60

What I want to do is pull data from Table B and have it populate
automatically in Table A based on the Code and for the concerned month. Eg.
If the month in the column header in Table A reads as Jun the corresponding
data for codes ABC and XYZ should pick-up from the Jun column in Table B. As
the month in the column header changes in Table A to Jul, Aug, etc, the data
for ABC and XYZ should pick-up from the corresponding month column in Table B.

I've been going crazy trying to find a solution to this and hope that some
of you Excel whizzes can help me out.

Thanks a lot in advance for your assistance.

Regards/Gauri
 
Reply With Quote
 
 
 
 
Khoshravan
Guest
Posts: n/a
 
      25th Jun 2008
I think a two-way lookup will solve your issue. Ordinary vlookup function
performs a one-way lookup. By combination of Index and Match functions you
can perform a two-way lookup. For details look at:
http://www.j-walk.com/ss/excel/usertips/tip020.htm

Hope this helps.

"Gauri" wrote:

> Hi,
>
> I have two tables A and B.
>
> Table A
> Code Jun
> ABC 34
> XYZ 50
>
> Table B
> Code Jun Jul Aug Sep
> ABC 34 20 10 15
> XYZ 50 38 90 60
>
> What I want to do is pull data from Table B and have it populate
> automatically in Table A based on the Code and for the concerned month. Eg.
> If the month in the column header in Table A reads as Jun the corresponding
> data for codes ABC and XYZ should pick-up from the Jun column in Table B. As
> the month in the column header changes in Table A to Jul, Aug, etc, the data
> for ABC and XYZ should pick-up from the corresponding month column in Table B.
>
> I've been going crazy trying to find a solution to this and hope that some
> of you Excel whizzes can help me out.
>
> Thanks a lot in advance for your assistance.
>
> Regards/Gauri

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      25th Jun 2008
If TableB is in I1:M3 say a,d Tabl;e A in columns A:..., then use

=INDEX($J$2:$M$3,MATCH($A2,$I$2:$I$3,0),MATCH(C$1,$J$1:$M$1,0))

just adjust the ranges to your positions.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gauri" <(E-Mail Removed)> wrote in message
news:90299DB3-A3E9-4032-829D-(E-Mail Removed)...
> Hi,
>
> I have two tables A and B.
>
> Table A
> Code Jun
> ABC 34
> XYZ 50
>
> Table B
> Code Jun Jul Aug Sep
> ABC 34 20 10 15
> XYZ 50 38 90 60
>
> What I want to do is pull data from Table B and have it populate
> automatically in Table A based on the Code and for the concerned month.
> Eg.
> If the month in the column header in Table A reads as Jun the
> corresponding
> data for codes ABC and XYZ should pick-up from the Jun column in Table B.
> As
> the month in the column header changes in Table A to Jul, Aug, etc, the
> data
> for ABC and XYZ should pick-up from the corresponding month column in
> Table B.
>
> I've been going crazy trying to find a solution to this and hope that some
> of you Excel whizzes can help me out.
>
> Thanks a lot in advance for your assistance.
>
> Regards/Gauri



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Offer Remote Assistance not accepted because Remote Assistance notinstalled churin Windows Vista Networking 2 18th Jan 2008 03:50 PM
Remote assistance, assistance....aol related GotBonus Windows XP General 5 7th Jul 2006 09:21 PM
Little Assistance Sbueckers Microsoft Access Forms 0 1st May 2006 06:22 AM
Remote Assistance - Offer Assistance =?Utf-8?B?d29ya2luZ3Rocm91Z2h4cA==?= Windows XP General 4 30th Apr 2006 03:50 AM
Remote Assistance Assistance Fred Windows XP General 1 7th Feb 2004 05:56 PM


Features
 

Advertising
 

Newsgroups
 


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