#1   Report Post  
Steved
 
Posts: n/a
Default Formula please

Hello from Steved

I have a file named Bus.xls
In it I have Values in Col A, B, C ,D

In a file Named Reports.xls I have information in Col A

ok in Col A in Bus.xls I have a value "B0101"
ok in Col A in Reports.xls I have a value "B0101"
What Formula would I use to lookup B0101 in Bus.xls to put
the information in Col B,C,D. of reports.xls Please.

Thankyou.
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Take a look at VLOOKUP Worksheet Function in HELP, and in
http://www.mvps.org/dmcritchie/excel/vlookup.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Steved" wrote in message ...
Hello from Steved

I have a file named Bus.xls
In it I have Values in Col A, B, C ,D

In a file Named Reports.xls I have information in Col A

ok in Col A in Bus.xls I have a value "B0101"
ok in Col A in Reports.xls I have a value "B0101"
What Formula would I use to lookup B0101 in Bus.xls to put
the information in Col B,C,D. of reports.xls Please.

Thankyou.



  #3   Report Post  
Steved
 
Posts: n/a
Default

Hello from Steved

My attempt is below is their a index and match I can use to do the same.

=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,2,0))
=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,3,0))
=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,4,0))

"David McRitchie" wrote:

Take a look at VLOOKUP Worksheet Function in HELP, and in
http://www.mvps.org/dmcritchie/excel/vlookup.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Steved" wrote in message ...
Hello from Steved

I have a file named Bus.xls
In it I have Values in Col A, B, C ,D

In a file Named Reports.xls I have information in Col A

ok in Col A in Bus.xls I have a value "B0101"
ok in Col A in Reports.xls I have a value "B0101"
What Formula would I use to lookup B0101 in Bus.xls to put
the information in Col B,C,D. of reports.xls Please.

Thankyou.




  #4   Report Post  
Scott Orchard
 
Posts: n/a
Default

Try putting this formula into cell B1 of reports.xls ...

=INDEX([bus.xls]SHEET!B:B,MATCH($A1,[bus.xls]SHEET!$A:$A,0))

For columns C & D, you can just copy the formula across.
You can then copy down as many rows as you need.
Rgds,
Scott

"Steved" wrote in message
...
| Hello from Steved
|
| My attempt is below is their a index and match I can use to do the same.
|
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,2,0))
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,3,0))
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,4,0))
|
| "David McRitchie" wrote:
|
| Take a look at VLOOKUP Worksheet Function in HELP, and in
| http://www.mvps.org/dmcritchie/excel/vlookup.htm
| ---
| HTH,
| David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
| My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
| Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
|
| "Steved" wrote in message
...
| Hello from Steved
|
| I have a file named Bus.xls
| In it I have Values in Col A, B, C ,D
|
| In a file Named Reports.xls I have information in Col A
|
| ok in Col A in Bus.xls I have a value "B0101"
| ok in Col A in Reports.xls I have a value "B0101"
| What Formula would I use to lookup B0101 in Bus.xls to put
| the information in Col B,C,D. of reports.xls Please.
|
| Thankyou.
|
|
|


  #5   Report Post  
Steved
 
Posts: n/a
Default

Thankyou Scott

"Scott Orchard" wrote:

Try putting this formula into cell B1 of reports.xls ...

=INDEX([bus.xls]SHEET!B:B,MATCH($A1,[bus.xls]SHEET!$A:$A,0))

For columns C & D, you can just copy the formula across.
You can then copy down as many rows as you need.
Rgds,
Scott

"Steved" wrote in message
...
| Hello from Steved
|
| My attempt is below is their a index and match I can use to do the same.
|
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,2,0))
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,3,0))
| =IF($A$1="","",VLOOKUP(A:A,BusType!A:D,4,0))
|
| "David McRitchie" wrote:
|
| Take a look at VLOOKUP Worksheet Function in HELP, and in
| http://www.mvps.org/dmcritchie/excel/vlookup.htm
| ---
| HTH,
| David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
| My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
| Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
|
| "Steved" wrote in message
...
| Hello from Steved
|
| I have a file named Bus.xls
| In it I have Values in Col A, B, C ,D
|
| In a file Named Reports.xls I have information in Col A
|
| ok in Col A in Bus.xls I have a value "B0101"
| ok in Col A in Reports.xls I have a value "B0101"
| What Formula would I use to lookup B0101 in Bus.xls to put
| the information in Col B,C,D. of reports.xls Please.
|
| Thankyou.
|
|
|





  #6   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Steve,
Close but you have a few changes to make:

For Column B
B1: =VLOOKUP($A1,BusType!$A$1:$F$200,COLUMN(B1),0)
B2: =VLOOKUP($A2,BusType!$A$1:$F$200,COLUMN(B2),0)
B3: =VLOOKUP($A3,BusType!$A$1:$F$200,COLUMN(B3),0)
B4: =VLOOKUP($A4,BusType!$A$1:$F$200,COLUMN(B4),0)
B5: =VLOOKUP($A5,BusType!$A$1:$F$200,COLUMN(B5),0)
B6: =VLOOKUP($A6,BusType!$A$1:$F$200,COLUMN(B6),0)

For Column C
C1: =VLOOKUP($A1,BusType!$A$1:$F$200,COLUMN(C1),0)
C2: =VLOOKUP($A2,BusType!$A$1:$F$200,COLUMN(C2),0)
C3: =VLOOKUP($A3,BusType!$A$1:$F$200,COLUMN(C3),0)
C4: =VLOOKUP($A4,BusType!$A$1:$F$200,COLUMN(C4),0)
C5: =VLOOKUP($A5,BusType!$A$1:$F$200,COLUMN(C5),0)

All you need is the formula in B1 and use the fill handle
to generate the others
http://www.mvps.org/dmcritchie/excel/fillhand.htm

You can use a defined name table instead of having the
range specified in the formula, look bak at
http://www.mvps.org/dmcritchie/excel/vlookup.htm

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Steved" wrote in message ...
Hello from Steved

My attempt is below is their a index and match I can use to do the same.

=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,2,0))
=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,3,0))
=IF($A$1="","",VLOOKUP(A:A,BusType!A:D,4,0))

"David McRitchie" wrote:

Take a look at VLOOKUP Worksheet Function in HELP, and in
http://www.mvps.org/dmcritchie/excel/vlookup.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Steved" wrote in message ...
Hello from Steved

I have a file named Bus.xls
In it I have Values in Col A, B, C ,D

In a file Named Reports.xls I have information in Col A

ok in Col A in Bus.xls I have a value "B0101"
ok in Col A in Reports.xls I have a value "B0101"
What Formula would I use to lookup B0101 in Bus.xls to put
the information in Col B,C,D. of reports.xls Please.

Thankyou.






  #7   Report Post  
David McRitchie
 
Posts: n/a
Default

I see you already got a working solution from Scott, I didn't look back at your
original question where it appears that your are referring to
workbooks as if they are worksheets.


  #8   Report Post  
Steved
 
Posts: n/a
Default

Thanks David Both of you have been off great assistance.

Thankyou.

"David McRitchie" wrote:

I see you already got a working solution from Scott, I didn't look back at your
original question where it appears that your are referring to
workbooks as if they are worksheets.



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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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