Results 1 to 4 of 4

Thread: How to use vlookup for rounding up numbers in Excel 2003

  1. #1
    Join Date
    Apr 2009
    Posts
    91

    How to use vlookup for rounding up numbers in Excel 2003

    I'm using Excel 2003 on my system. I would like to know that how can i use vlookup for rounding up a particular number in my excel sheet. It should be round up to its nearest number. Can any body tell me that how can i do it? Does any body have any idea about it? Kindly provide me the correct sloution for the above issue. Any kind of information on the above issue would be appreciated.

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: How to use vlookup for rounding up numbers in Excel 2003

    In Excel you can easily round number in order to view it. You can do it by just going to FormatMenu and then select Cells Numberand then need to select Number under Category. Then you can create a short cut by using the Increase Decimals and Decrease Decimals on the Format toolbar, which you can see it at the right of $ %, symbols.

  3. #3
    Join Date
    May 2008
    Posts
    4,570

    Re: How to use vlookup for rounding up numbers in Excel 2003

    You can also use the following:-

    The HLOOKUP function uses the following syntax:

    =HLOOKUP(lookup_value,table_array,row_index_num,[range_lookup])
    The VLOOKUP function follows the nearly identical syntax:

    =VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]
    In both functions, the lookup_value argument is the value that you want to look up in the table, table_array is the cell range or name of the table that contains both the value to look up and the related value to return.

  4. #4
    Join Date
    May 2008
    Posts
    4,345

    Re: How to use vlookup for rounding up numbers in Excel 2003

    Use the TRUNC function in your VLOOKUP or HLOOKUP function to force the LOOKUP value to be evaluated to a specific number of decimal places. For example, type the VLOOKUP function as follows:

    =VLOOKUP(TRUNC(A1,2),C1: D5,2,FALSE)
    This formula rounds the LOOKUP value in cell A1 to two decimal places and then looks for it in the lookup table (C1: D5). The formula returns the data from the second column of the lookup table. You can also check out the following link. Hope so it may help you out.

Similar Threads

  1. Need help to get rid of #n/a error in Excel Vlookup
    By Culpritism in forum MS Office Support
    Replies: 2
    Last Post: 24-02-2012, 07:39 PM
  2. Replies: 2
    Last Post: 01-02-2012, 07:10 PM
  3. How to get yes or no in Vlookup in Excel
    By Gurmeet in forum MS Office Support
    Replies: 2
    Last Post: 24-01-2012, 04:57 PM
  4. How to change negative numbers to positive numbers in Excel
    By Shaina Na in forum Microsoft Project
    Replies: 3
    Last Post: 08-01-2012, 05:35 PM
  5. How to convert fractional inches into rounding numbers
    By Rock Villa in forum Software Development
    Replies: 2
    Last Post: 01-07-2009, 12:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,899,635.12618 seconds with 17 queries