#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default Vlookup problem

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup problem

Belinda,

You can't do left lookups with Vlookup you need index match. try this.

==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Be careful of the line wrap it's all one line

Mike

"Belinda7237" wrote:

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup problem

How did thst == creep in it should be

=INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Mike

"Mike H" wrote:

Belinda,

You can't do left lookups with Vlookup you need index match. try this.

==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Be careful of the line wrap it's all one line

Mike

"Belinda7237" wrote:

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Vlookup problem

I missed the bit about hiding NA try this

=IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1)),"",INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1))

Lots of line wraps and still one line.

Mike

"Mike H" wrote:

How did thst == creep in it should be

=INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Mike

"Mike H" wrote:

Belinda,

You can't do left lookups with Vlookup you need index match. try this.

==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Be careful of the line wrap it's all one line

Mike

"Belinda7237" wrote:

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Vlookup problem

Take a look at this when you have a chance:
http://www.contextures.com/xlFunctions03.html


Regards,
Ryan---

--
RyGuy


"Mike H" wrote:

I missed the bit about hiding NA try this

=IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1)),"",INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1))

Lots of line wraps and still one line.

Mike

"Mike H" wrote:

How did thst == creep in it should be

=INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Mike

"Mike H" wrote:

Belinda,

You can't do left lookups with Vlookup you need index match. try this.

==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Be careful of the line wrap it's all one line

Mike

"Belinda7237" wrote:

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default Vlookup problem

My invoice doc got retitled - so i used my new doc and inserted the formula
but am getting an error in formula - here is my new formula:

IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$A:$A,MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$F:$F,FALSE,1))"",INDEX('[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$A:$A,MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$F$F,FALSE),1))

Am i missing something?

Thanks again for all your help!



"Mike H" wrote:

I missed the bit about hiding NA try this

=IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1)),"",INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1))

Lots of line wraps and still one line.

Mike

"Mike H" wrote:

How did thst == creep in it should be

=INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Mike

"Mike H" wrote:

Belinda,

You can't do left lookups with Vlookup you need index match. try this.

==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)

Be careful of the line wrap it's all one line

Mike

"Belinda7237" wrote:

I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.

I wanted to use a vlookup formula to carry over the data:

VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)

my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. Also moving the
columns isn't feasable. Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A

can I accomplish this with a different function?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Vlookup problem

I presume your sheet name is

CAU - Maturing Loans

and those hyphens in there are part of the name and not a hangover
from Mike's earlier post where they were put in by the newsreader
breaking the formula into lines?

You need to ensure that the file

Bundled Report 06-08.xls

is open at the same time as the file with the formula, as you do not
have any path details.

You have a ) and two commas missing. Also, you can omit the first
INDEX, as it is the MATCH function which will return #NA, so try it
like this:

=IF(ISNA(MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing Loans'!
$F:$F,0)),"",INDEX('[Bundled Report 06-08.xls]CAU - Maturing Loans'!$A:
$A,MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing Loans'!$F$F,0),
1))

(I prefer typing 0 instead of FALSE).

Hope this helps.

Pete

On Jul 18, 9:27*pm, Belinda7237
wrote:
My invoice doc got retitled - so i used my new doc and inserted the formula
but am getting an error in formula - here is my new formula:

IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$A:$A,MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$F:$F,FALSE,1))"",INDEX('[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$A:$A,MATCH,(G14,'[Bundled Report 06-08.xls]CAU - Maturing
Loans'!$F$F,FALSE),1))

Am i missing something?

Thanks again for all your help!



"Mike H" wrote:
I missed the bit about hiding NA try this


=IF(ISNA(INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1)),"",INDEX('[Bundled Report 06-08.xls]CAU -
Invoices'!A:A,MATCH(G48,'[Bundled Report 06-08.xls]CAU -
Invoices'!F:F,FALSE),1))


Lots of line wraps and still one line.


Mike


"Mike H" wrote:


How did thst == creep in it should be


=INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)


Mike


"Mike H" wrote:


Belinda,


You can't do left lookups with Vlookup you need index match. try this.


==INDEX('[Bundled Report 06-08.xls]CAU - Invoices'!A:A,MATCH(G48,'[Bundled
Report 06-08.xls]CAU - Invoices'!F:F,FALSE),1)


Be careful of the line wrap it's all one line


Mike


"Belinda7237" wrote:


I have data that needs to be transferred over from one month to the next - 2
seperate workbooks.


I wanted to use a vlookup formula to carry over the data:


VLOOKUP(G48,'[Bundled Report 06-08.xls]CAU - Invoices'!$A:$F,-6,0)


my problem is the field that needs to be populated is to the left of the
unique id field and using a negative sign doesnt work. *Also moving the
columns isn't feasable. *Also, if nothing is in the field I want it to leave
the field blank instead of putting #N/A


can I accomplish this with a different function?- Hide quoted text -


- Show quoted text -


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 problem Mortir Excel Worksheet Functions 2 April 26th 07 10:48 AM
vlookup problem Jeanette Excel Worksheet Functions 4 February 14th 07 07:18 PM
New VLOOKUP problem sfi Excel Worksheet Functions 2 July 26th 06 02:32 PM
VLOOKUP problem Stevie D Excel Worksheet Functions 5 March 8th 06 11:20 AM
Vlookup problem Big Jones Excel Worksheet Functions 0 August 18th 05 02:33 PM


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