Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!!!

Hi there,

I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
TRYING to use.

It keeps sending back a #VALUE! error and I have absolutely no idea why. I
have used all the help I can possible find, and I can't see where its going
wrong.

I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)

Thank you in advance


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!!!

Hi,
You probably don't need to email your sheet.
Just show us a copy of the formula you're using, and some details of the
data table you're trying to look up.
Regards - Dave.

"forevertrying" wrote:

Hi there,

I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
TRYING to use.

It keeps sending back a #VALUE! error and I have absolutely no idea why. I
have used all the help I can possible find, and I can't see where its going
wrong.

I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)

Thank you in advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 336
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Make sure that the sheet containing the lookup vlaue, and the table array are
data sorted in the same way.

also, in the lookup formula, bracket the table array with $ to make sure it
doesnt move when you copy the lookup formula down the list.


"Dave" wrote:

Hi,
You probably don't need to email your sheet.
Just show us a copy of the formula you're using, and some details of the
data table you're trying to look up.
Regards - Dave.

"forevertrying" wrote:

Hi there,

I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
TRYING to use.

It keeps sending back a #VALUE! error and I have absolutely no idea why. I
have used all the help I can possible find, and I can't see where its going
wrong.

I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)

Thank you in advance


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

The formula is:

=F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)

F22 is the total hours (result of a sum totalling all hours in the row)
The table it is looking the information up from is
Column 1 = Reg
Column 2 = Hourly Cost

There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
formatted as currency.



"Dave" wrote:

Hi,
You probably don't need to email your sheet.
Just show us a copy of the formula you're using, and some details of the
data table you're trying to look up.
Regards - Dave.

"forevertrying" wrote:

Hi there,

I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
TRYING to use.

It keeps sending back a #VALUE! error and I have absolutely no idea why. I
have used all the help I can possible find, and I can't see where its going
wrong.

I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)

Thank you in advance


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Omit the quotes around Reg

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"forevertrying" wrote in message
...
| The formula is:
|
| =F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)
|
| F22 is the total hours (result of a sum totalling all hours in the row)
| The table it is looking the information up from is
| Column 1 = Reg
| Column 2 = Hourly Cost
|
| There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
| formatted as currency.
|
|
|
| "Dave" wrote:
|
| Hi,
| You probably don't need to email your sheet.
| Just show us a copy of the formula you're using, and some details of the
| data table you're trying to look up.
| Regards - Dave.
|
| "forevertrying" wrote:
|
| Hi there,
|
| I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
| TRYING to use.
|
| It keeps sending back a #VALUE! error and I have absolutely no idea why. I
| have used all the help I can possible find, and I can't see where its going
| wrong.
|
| I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
| a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)
|
| Thank you in advance
|
|




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Tried that one, but then it just brings up #NAME?

"Niek Otten" wrote:

Omit the quotes around Reg

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"forevertrying" wrote in message
...
| The formula is:
|
| =F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)
|
| F22 is the total hours (result of a sum totalling all hours in the row)
| The table it is looking the information up from is
| Column 1 = Reg
| Column 2 = Hourly Cost
|
| There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
| formatted as currency.
|
|
|
| "Dave" wrote:
|
| Hi,
| You probably don't need to email your sheet.
| Just show us a copy of the formula you're using, and some details of the
| data table you're trying to look up.
| Regards - Dave.
|
| "forevertrying" wrote:
|
| Hi there,
|
| I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
| TRYING to use.
|
| It keeps sending back a #VALUE! error and I have absolutely no idea why. I
| have used all the help I can possible find, and I can't see where its going
| wrong.
|
| I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
| a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)
|
| Thank you in advance
|
|



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

I thought you had column A named Reg.
Use A1 instead of Reg.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"forevertrying" wrote in message
...
| Tried that one, but then it just brings up #NAME?
|
| "Niek Otten" wrote:
|
| Omit the quotes around Reg
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
| "forevertrying" wrote in message
| ...
| | The formula is:
| |
| | =F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)
| |
| | F22 is the total hours (result of a sum totalling all hours in the row)
| | The table it is looking the information up from is
| | Column 1 = Reg
| | Column 2 = Hourly Cost
| |
| | There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
| | formatted as currency.
| |
| |
| |
| | "Dave" wrote:
| |
| | Hi,
| | You probably don't need to email your sheet.
| | Just show us a copy of the formula you're using, and some details of the
| | data table you're trying to look up.
| | Regards - Dave.
| |
| | "forevertrying" wrote:
| |
| | Hi there,
| |
| | I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
| | TRYING to use.
| |
| | It keeps sending back a #VALUE! error and I have absolutely no idea why. I
| | have used all the help I can possible find, and I can't see where its going
| | wrong.
| |
| | I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
| | a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)
| |
| | Thank you in advance
| |
| |
|
|
|


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

The reason you get a value error is either that VLOOKUP returns a text value
that you multiply with the content
in F22 or that the content in F22 is text (could be trailing spaces etc)


--


Regards,


Peo Sjoblom


"forevertrying" wrote in message
...
Tried that one, but then it just brings up #NAME?

"Niek Otten" wrote:

Omit the quotes around Reg

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"forevertrying" wrote in
message
...
| The formula is:
|
| =F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)
|
| F22 is the total hours (result of a sum totalling all hours in the row)
| The table it is looking the information up from is
| Column 1 = Reg
| Column 2 = Hourly Cost
|
| There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly
Costs are
| formatted as currency.
|
|
|
| "Dave" wrote:
|
| Hi,
| You probably don't need to email your sheet.
| Just show us a copy of the formula you're using, and some details of
the
| data table you're trying to look up.
| Regards - Dave.
|
| "forevertrying" wrote:
|
| Hi there,
|
| I am using VLOOKUP to calculate vehicle usage hours... or should I
say, I am
| TRYING to use.
|
| It keeps sending back a #VALUE! error and I have absolutely no idea
why. I
| have used all the help I can possible find, and I can't see where
its going
| wrong.
|
| I can e-mail my worksheet for someone to have a look at. I'm fairly
sure its
| a simple thing to fix, but, as I can't do it myself, I must be
simpler ;o)
|
| Thank you in advance
|
|





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Hi,
The first argument in VLOOKUP should be a single value or cell.
I assume Reg is a named range? If Reg is the name of more than one cell, you
will get errors. If you are getting a Name? error, it means XL doesn't
recognize the name Reg.
Also, if you only have 2 columns, are they Column B and Column D?
Regards - Dave


"forevertrying" wrote:

The formula is:

=F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)

F22 is the total hours (result of a sum totalling all hours in the row)
The table it is looking the information up from is
Column 1 = Reg
Column 2 = Hourly Cost

There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
formatted as currency.


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Hi Dave,

Reg is not a named range as I'm not entirely sure what that means or how to
do it.

I have tried using cell reference B1 as my list covers column b and c
instead of Reg but it still brings back an error message.



"Dave" wrote:

Hi,
The first argument in VLOOKUP should be a single value or cell.
I assume Reg is a named range? If Reg is the name of more than one cell, you
will get errors. If you are getting a Name? error, it means XL doesn't
recognize the name Reg.
Also, if you only have 2 columns, are they Column B and Column D?
Regards - Dave


"forevertrying" wrote:

The formula is:

=F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)

F22 is the total hours (result of a sum totalling all hours in the row)
The table it is looking the information up from is
Column 1 = Reg
Column 2 = Hourly Cost

There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
formatted as currency.




  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Maybe you should have a fresh start again.
Read this tutorial about VLOOKUP:

http://www.contextures.com/xlFunctions02.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"forevertrying" wrote in message
...
| Hi Dave,
|
| Reg is not a named range as I'm not entirely sure what that means or how to
| do it.
|
| I have tried using cell reference B1 as my list covers column b and c
| instead of Reg but it still brings back an error message.
|
|
|
| "Dave" wrote:
|
| Hi,
| The first argument in VLOOKUP should be a single value or cell.
| I assume Reg is a named range? If Reg is the name of more than one cell, you
| will get errors. If you are getting a Name? error, it means XL doesn't
| recognize the name Reg.
| Also, if you only have 2 columns, are they Column B and Column D?
| Regards - Dave
|
|
| "forevertrying" wrote:
|
| The formula is:
|
| =F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)
|
| F22 is the total hours (result of a sum totalling all hours in the row)
| The table it is looking the information up from is
| Column 1 = Reg
| Column 2 = Hourly Cost
|
| There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
| formatted as currency.
|


  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Hi,
If Reg is not a named range, what is it? If it is your column header, then
you can't use it as the LOOKUP value. What are you asking VLOOKUP to look for?
What data do you have in Column Reg?
Dave

"forevertrying" wrote:

Hi Dave,

Reg is not a named range as I'm not entirely sure what that means or how to
do it.

I have tried using cell reference B1 as my list covers column b and c
instead of Reg but it still brings back an error message.



"Dave" wrote:

Hi,
The first argument in VLOOKUP should be a single value or cell.
I assume Reg is a named range? If Reg is the name of more than one cell, you
will get errors. If you are getting a Name? error, it means XL doesn't
recognize the name Reg.
Also, if you only have 2 columns, are they Column B and Column D?
Regards - Dave


"forevertrying" wrote:

The formula is:

=F22*VLOOKUP("Reg",$B$1:$D$16,3,FALSE)

F22 is the total hours (result of a sum totalling all hours in the row)
The table it is looking the information up from is
Column 1 = Reg
Column 2 = Hourly Cost

There are 16 Reg Numbers and therefore 16 hourly costs. The Hourly Costs are
formatted as currency.


  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default VLOOKUP returning a #VALUE! error and I've not idea why! HELP!

Sorry,

the col_index_num is actually 2. I had been playing with it and not changed
it back.

"Dave" wrote:

Hi,
You probably don't need to email your sheet.
Just show us a copy of the formula you're using, and some details of the
data table you're trying to look up.
Regards - Dave.

"forevertrying" wrote:

Hi there,

I am using VLOOKUP to calculate vehicle usage hours... or should I say, I am
TRYING to use.

It keeps sending back a #VALUE! error and I have absolutely no idea why. I
have used all the help I can possible find, and I can't see where its going
wrong.

I can e-mail my worksheet for someone to have a look at. I'm fairly sure its
a simple thing to fix, but, as I can't do it myself, I must be simpler ;o)

Thank you in advance


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 Function returning #N/A error for two entries rtjeter Excel Discussion (Misc queries) 2 August 2nd 06 04:58 PM
vlookup returning a #N/A value Ian Excel Worksheet Functions 5 May 17th 06 02:58 PM
SUMPRODUCT formula returning #VALUE! error Valerie Excel Worksheet Functions 5 April 28th 06 02:36 PM
Custom function returning VALUE error alex.k Excel Discussion (Misc queries) 6 September 27th 05 03:05 AM
Formula returning #N/A Error---why??? Excel User Excel Worksheet Functions 4 September 26th 05 02:25 PM


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