Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 457
Default #VALUE error-- some cells?

I'm not sure why the word "AnyRange" appears in my post...it should have
been what you originally called out "$C$5:$J$64"...
Apologies.

--
Best Regards,

Luke M
"Luke M" wrote in message
...
I don't think this formula is doing what you think it is...
For instance,
VLOOKUP(LEFT(C19,2500),AnyRange,1,FALSE)
is going to return a value from the first column, aka C, thereby, this
results in C19.

Also, the logic check will never be met, as the VLOOKUP of a value that
exists (as detemrined from first step) will never be 0.

So, in the end, your formula is simply:
=C19

--
Best Regards,

Luke M
"roborat" wrote in message
...
I am doing a VLOOKUP moving out comments from a Pivot Table to separate
column. I have 115 rows, 100 of which work perfectly... but 15 of them
give
me the #VALUE error stating "A value used in the formula is of the wrong
data
type."

The formula I am using is:
=IF(VLOOKUP(LEFT(C19,2500),$C$5:$J$64,1,FALSE)=0," ",(VLOOKUP(LEFT(C19,2500),$C$5:$J$64,1,FALSE)) )

Why does it work for some but not others? Some of the ones not working
have
acronyms, HR, CC'd, etc... could that be the problem-- and if so, how can
I
get it to ignore them?

Thanks!





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
Add Cells error Gene Augustin Excel Discussion (Misc queries) 2 April 5th 09 09:16 PM
zero value cells/blank cells causing error in AVERAGE? LilBeanie1033 Excel Worksheet Functions 5 March 19th 09 06:39 PM
Averaging Cells without an Error Kcope8302 Excel Worksheet Functions 6 December 10th 08 12:17 PM
Set RN = Range(Cells(2, 1), Cells(r, 1)) error Daniel Charts and Charting in Excel 3 June 17th 07 08:30 PM
Cells(x,y) error fmistry Excel Discussion (Misc queries) 12 April 17th 07 11:21 PM


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

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"