Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
hmz hmz is offline
external usenet poster
 
Posts: 16
Default vlookup and rounding

I have a simple question, hopefullly.

I am new to the vlook up. I did a simple table:

Reference celll: 10.06%

A B C D
10.00%
10.10%

my formula is this: ==(VLOOKUP(10.06%,A1:D2,4))

I want my answer to deliver the result "28600." However, the formula is
rounding the 10.06% down to 10% and delivering a result of "2860" In other
words, anything above 10% is the next row.

Can someone tell me how to fix this rounding problem?

Thanks so much in advance.
--
hmz
NY, NY

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default vlookup and rounding

You haven't provided enough info to make a suggest.

The way you have the formula written is why it's doing what it's doing.

VLOOKUP(10.06%,A1:D2,4)

You've left out the [range_lookup] argument so it defaults to TRUE which
means if there isn't an exact match of the lookup_value then the formula
matches the closest value that is less than the lookup_value. So:

Lookup 10.06

10.00
10.10

There is no exact match of 10.06 and 10.00 is the closest match that is less
than 10.06.

So, what do you want to happen when there isn't an exact match?

--
Biff
Microsoft Excel MVP


"hmz" wrote in message
...
I have a simple question, hopefullly.

I am new to the vlook up. I did a simple table:

Reference celll: 10.06%

A B C D
10.00%
10.10%

my formula is this: ==(VLOOKUP(10.06%,A1:D2,4))

I want my answer to deliver the result "28600." However, the formula is
rounding the 10.06% down to 10% and delivering a result of "2860" In
other
words, anything above 10% is the next row.

Can someone tell me how to fix this rounding problem?

Thanks so much in advance.
--
hmz
NY, NY



  #3   Report Post  
Posted to microsoft.public.excel.newusers
hmz hmz is offline
external usenet poster
 
Posts: 16
Default vlookup and rounding

Thank you so much. All I needed to do was add "true" as the range look up,
and it works perfectly!
--
hmz
NYC


"T. Valko" wrote:

You haven't provided enough info to make a suggest.

The way you have the formula written is why it's doing what it's doing.

VLOOKUP(10.06%,A1:D2,4)

You've left out the [range_lookup] argument so it defaults to TRUE which
means if there isn't an exact match of the lookup_value then the formula
matches the closest value that is less than the lookup_value. So:

Lookup 10.06

10.00
10.10

There is no exact match of 10.06 and 10.00 is the closest match that is less
than 10.06.

So, what do you want to happen when there isn't an exact match?

--
Biff
Microsoft Excel MVP


"hmz" wrote in message
...
I have a simple question, hopefullly.

I am new to the vlook up. I did a simple table:

Reference celll: 10.06%

A B C D
10.00%
10.10%

my formula is this: ==(VLOOKUP(10.06%,A1:D2,4))

I want my answer to deliver the result "28600." However, the formula is
rounding the 10.06% down to 10% and delivering a result of "2860" In
other
words, anything above 10% is the next row.

Can someone tell me how to fix this rounding problem?

Thanks so much in advance.
--
hmz
NY, NY



.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default vlookup and rounding

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"hmz" wrote in message
...
Thank you so much. All I needed to do was add "true" as the range look up,
and it works perfectly!
--
hmz
NYC


"T. Valko" wrote:

You haven't provided enough info to make a suggest.

The way you have the formula written is why it's doing what it's doing.

VLOOKUP(10.06%,A1:D2,4)

You've left out the [range_lookup] argument so it defaults to TRUE which
means if there isn't an exact match of the lookup_value then the formula
matches the closest value that is less than the lookup_value. So:

Lookup 10.06

10.00
10.10

There is no exact match of 10.06 and 10.00 is the closest match that is
less
than 10.06.

So, what do you want to happen when there isn't an exact match?

--
Biff
Microsoft Excel MVP


"hmz" wrote in message
...
I have a simple question, hopefullly.

I am new to the vlook up. I did a simple table:

Reference celll: 10.06%

A B C D
10.00%
10.10%

my formula is this: ==(VLOOKUP(10.06%,A1:D2,4))

I want my answer to deliver the result "28600." However, the formula is
rounding the 10.06% down to 10% and delivering a result of "2860" In
other
words, anything above 10% is the next row.

Can someone tell me how to fix this rounding problem?

Thanks so much in advance.
--
hmz
NY, NY



.



  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default vlookup and rounding

Hi, you can try

=VLOOKUP(ROUNDUP(10.06%,1),A1:D2,4,FALSE)

This will round up the value to the nearest digit, so it is 10.1. Vlookup
then finds the exact match in your lookup table due to the FALSE operator.

does that help?


"hmz" wrote:

I have a simple question, hopefullly.

I am new to the vlook up. I did a simple table:

Reference celll: 10.06%

A B C D
10.00%
10.10%

my formula is this: ==(VLOOKUP(10.06%,A1:D2,4))

I want my answer to deliver the result "28600." However, the formula is
rounding the 10.06% down to 10% and delivering a result of "2860" In other
words, anything above 10% is the next row.

Can someone tell me how to fix this rounding problem?

Thanks so much in advance.
--
hmz
NY, NY



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
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
Vlookup rounding up rather than down Steve[_3_] Excel Worksheet Functions 4 March 16th 07 01:38 AM
Vlookup Rounding wmaughan Excel Discussion (Misc queries) 9 December 28th 05 12:00 AM
Rounding criteria within a nested vlookup and hlookup Jay Z Excel Worksheet Functions 1 March 23rd 05 10:34 PM


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