Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Whats wrong with this formula

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Whats wrong with this formula

Hi,

It looks fine to me and tests out OK.

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"oldjay" wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

  #3   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Whats wrong with this formula

is the result of the vlookup a number, or text? If it's a number, try
text(VLOOKUP(C19,Z71:AB76,3),1)
but when I do it, a number works too?

"oldjay" wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Whats wrong with this formula

When I copy the cell from the Main! sheet and insert it into a new sheet
="Ext. No. "&VLOOKUP(MAIN!C19,MAIN!Z71:MAIN!AB76,3) It works fine
I tried Text on the Main sheet same result(Value.
Don't ask me to recreate this workbook. It is 3.5mb with a couple thousand
lines of code

Any more ideas?

"dlw" wrote:

is the result of the vlookup a number, or text? If it's a number, try
text(VLOOKUP(C19,Z71:AB76,3),1)
but when I do it, a number works too?

"oldjay" wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Whats wrong with this formula

I can't reproduce a #VALUE error (if that is what you mean by "yields
value"). However, I think you might need the 4th parameter to VLOOKUP
set to FALSE. E.g.,

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3,FALSE)

If you omit the FALSE or set it to TRUE, VLOOKUP does a "closest
match" lookup, and the data must be in ascending sorted order. With
FALSE, you indicate to VLOOKUP that you want an exact match. The order
of the data need not be sorted.

Also, ensure that the cell you are looking up, C19, does not itself
contain an error.


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Sun, 7 Feb 2010 07:34:01 -0800, oldjay
wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Whats wrong with this formula

That didn't do it. What I did was copy the formula to another existing sheet
where it worked and them referenced that cell to the original one. You figure
"Chip Pearson" wrote:

I can't reproduce a #VALUE error (if that is what you mean by "yields
value"). However, I think you might need the 4th parameter to VLOOKUP
set to FALSE. E.g.,

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3,FALSE)

If you omit the FALSE or set it to TRUE, VLOOKUP does a "closest
match" lookup, and the data must be in ascending sorted order. With
FALSE, you indicate to VLOOKUP that you want an exact match. The order
of the data need not be sorted.

Also, ensure that the cell you are looking up, C19, does not itself
contain an error.


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Sun, 7 Feb 2010 07:34:01 -0800, oldjay
wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Whats wrong with this formula

This workbook is used for estimating and manufacturing process control and
has been used for many years. My problems have occurred since I tried to
migrate to Excel 2010. I opened the workbook in 2010 and saved it as an .xls
file compatible with older versions. The size of the file increased from
3.0mb to 3.6mb. It has numerous formula errors.
I have deleted all data and code except 2 cells with formula errors. I have
saved this workbook. It is now has 500K with only 2 cells populated. I
would like someone to look at this and give me some advise on what to do.



"Chip Pearson" wrote:

I can't reproduce a #VALUE error (if that is what you mean by "yields
value"). However, I think you might need the 4th parameter to VLOOKUP
set to FALSE. E.g.,

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3,FALSE)

If you omit the FALSE or set it to TRUE, VLOOKUP does a "closest
match" lookup, and the data must be in ascending sorted order. With
FALSE, you indicate to VLOOKUP that you want an exact match. The order
of the data need not be sorted.

Also, ensure that the cell you are looking up, C19, does not itself
contain an error.


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Sun, 7 Feb 2010 07:34:01 -0800, oldjay
wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 337
Default Whats wrong with this formula

Opps I mean Excel 2007

"oldjay" wrote:

This workbook is used for estimating and manufacturing process control and
has been used for many years. My problems have occurred since I tried to
migrate to Excel 2010. I opened the workbook in 2010 and saved it as an .xls
file compatible with older versions. The size of the file increased from
3.0mb to 3.6mb. It has numerous formula errors.
I have deleted all data and code except 2 cells with formula errors. I have
saved this workbook. It is now has 500K with only 2 cells populated. I
would like someone to look at this and give me some advise on what to do.



"Chip Pearson" wrote:

I can't reproduce a #VALUE error (if that is what you mean by "yields
value"). However, I think you might need the 4th parameter to VLOOKUP
set to FALSE. E.g.,

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3,FALSE)

If you omit the FALSE or set it to TRUE, VLOOKUP does a "closest
match" lookup, and the data must be in ascending sorted order. With
FALSE, you indicate to VLOOKUP that you want an exact match. The order
of the data need not be sorted.

Also, ensure that the cell you are looking up, C19, does not itself
contain an error.


Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Sun, 7 Feb 2010 07:34:01 -0800, oldjay
wrote:

="Ext. No. "&VLOOKUP(C19,Z71:AB76,3)yields "Value"

=VLOOKUP(C19,Z71:AB76,3) yields the correct result

.

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
whats wrong with this? brownti via OfficeKB.com Excel Discussion (Misc queries) 10 February 12th 07 02:39 PM
Whats wrong with this OR formula? Mark Excel Worksheet Functions 4 October 23rd 06 07:16 PM
whats wrong with the formula? Gary Excel Worksheet Functions 2 August 3rd 06 11:33 AM
Whats wrong with this? LucasBuck Excel Discussion (Misc queries) 3 January 12th 06 08:15 PM
Whats Wrong with this?? drvortex Excel Worksheet Functions 1 October 30th 04 06:48 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"