Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jay Z
 
Posts: n/a
Default Rounding criteria within a nested vlookup and hlookup

I am working to track commodities markets. Basically the situation is this:
- I enter market pricing information for the two commodity markets in 4
decimal places
- From there I have a separate chart with one commodity market on the x-axis
and one commodity market on the y-axis.
- The row heading is rounded to nearest $.01
- The column heading is rounded to nearest $.05

When I enter the market prices for the commodities, I want to pull our
pricing from our supplier. So, it is the intersection of the one market
price, rounded to nearest $.01, and the other market price, rounded to
nearest $.05.

My formula is currently:
=VLOOKUP(MROUND(B11,0.01),'Item 12970'!A9:P74,HLOOKUP(MROUND('Cost
Savings'!C11,0.05),'Item 12970'!B8:P75,68,FALSE),FALSE)

However, for certain values entered into B11 or C11, I get a #NA error and I
can not figure out why.

Any ideas?
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



All times are GMT +1. The time now is 03:41 AM.

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"