ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   adding a round function to an existing formula (https://www.excelbanter.com/excel-worksheet-functions/194436-adding-round-function-existing-formula.html)

Deb Paiement

adding a round function to an existing formula
 
The value in some of the fields to look up are decimals.
EX: The result in the field is 5.6. The lookup is seeing this as 5 instead
of 6. My formula is below. I am somewhat new to


=IF(ISERROR(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))=TRUE,"",(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))*0.25)

Fred Smith[_4_]

adding a round function to an existing formula
 
Vlookup will take results of calculations as easily as a cell address. Use:

=IF(ISERROR(VLOOKUP(round(D5,0),'LOOKUP
TABLES'!$A$3:$D$13,2)),"",VLOOKUP(round(D5,0),'LOO KUP
TABLES'!$A$3:$D$13,2)*0.25)


Regards,
Fred

"Deb Paiement" <Deb wrote in message
...
The value in some of the fields to look up are decimals.
EX: The result in the field is 5.6. The lookup is seeing this as 5 instead
of 6. My formula is below. I am somewhat new to


=IF(ISERROR(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))=TRUE,"",(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))*0.25)



Deb Paiement[_2_]

adding a round function to an existing formula
 
Worked great! Thank you!

"Fred Smith" wrote:

Vlookup will take results of calculations as easily as a cell address. Use:

=IF(ISERROR(VLOOKUP(round(D5,0),'LOOKUP
TABLES'!$A$3:$D$13,2)),"",VLOOKUP(round(D5,0),'LOO KUP
TABLES'!$A$3:$D$13,2)*0.25)


Regards,
Fred

"Deb Paiement" <Deb wrote in message
...
The value in some of the fields to look up are decimals.
EX: The result in the field is 5.6. The lookup is seeing this as 5 instead
of 6. My formula is below. I am somewhat new to


=IF(ISERROR(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))=TRUE,"",(VLOOKUP(D5,'LOOKUP
TABLES'!$A$3:$D$13,2))*0.25)





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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com