Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup... round up


The formula looks like this =LOOKUP($C16,Emissions!B4:B31)

$C16 has a value of 116 which should return a value of 12, however i
looking down the table and choosing 11. So its rounding down to th
whole number, I need it to round up.

Chart

g/Km - Elec/Petrol
0 - 6
25 - 7
45 - 8
65 - 9
85 - 10
105 - 11
125 - 12


Any better

--
Odysseu
-----------------------------------------------------------------------
Odysseus's Profile: http://www.excelforum.com/member.php...fo&userid=1456
View this thread: http://www.excelforum.com/showthread.php?threadid=26195

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Lookup... round up

Hi
if you can't resort this table try the following array
formula (entered with CTRL+SHIFT+ENTER):
=INDEX(Emissions!B1:B31,MAX(IF($C16<=Emissions!A1: A31,ROW
(Emissions!A1:A31))))

-----Original Message-----

The formula looks like this =LOOKUP($C16,Emissions!B4:B31)

$C16 has a value of 116 which should return a value of

12, however it
looking down the table and choosing 11. So its rounding

down to the
whole number, I need it to round up.

Chart

g/Km - Elec/Petrol
0 - 6
25 - 7
45 - 8
65 - 9
85 - 10
105 - 11
125 - 12


Any better?


--
Odysseus
----------------------------------------------------------

--------------
Odysseus's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=14563
View this thread:

http://www.excelforum.com/showthread...hreadid=261953

.

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
lookup help. lookup result based on data in 2 columns lcc Excel Worksheet Functions 3 April 6th 10 01:20 PM
Round Up and Round Down Time DaveMoore Excel Worksheet Functions 2 January 1st 10 12:00 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
How do I ROUND() round off decimals of a column dataset? Højrup Excel Worksheet Functions 2 January 12th 05 10:50 AM
Lookup... round up Odysseus Excel Programming 1 September 21st 04 12:07 PM


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