ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Look UP and then caluclation with IS ERROR (https://www.excelbanter.com/excel-discussion-misc-queries/448737-look-up-then-caluclation-error.html)

Excel Dumbo

Look UP and then caluclation with IS ERROR
 
1 Attachment(s)
Hello,

Please refer attached worksheet and advise a formula to lookup and then do a calculation and adding IS ERROR to it.

Thanks heaps

Excel Dumbo

Claus Busch

Look UP and then caluclation with IS ERROR
 
Hi,

Am Fri, 10 May 2013 06:05:55 +0100 schrieb Excel Dumbo:

Please refer attached worksheet and advise a formula to lookup and then
do a calculation and adding IS ERROR to it.


if you calculate the price per unit in column F it is much easier.
In F2:
=B2/(C2-D2)*(E2="RETAIL")

In B17 you need:

=IFERROR((VLOOKUP(A17,$A$1:$E$10,2,0)/(VLOOKUP(A17,$A$1:$E$10,3,0)-VLOOKUP(A17,$A$1:$E$10,4,0)))*(VLOOKUP(A17,$A$1:$E $10,5,0)="RETAIL"),"")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

Kevin@Radstock

@ Claus Busch

For your information, IFERROR is not available in Excel 2003 or versions prior to that one!!



Quote:

Originally Posted by Claus Busch (Post 1611742)
Hi,

Am Fri, 10 May 2013 06:05:55 +0100 schrieb Excel Dumbo:

Please refer attached worksheet and advise a formula to lookup and then
do a calculation and adding IS ERROR to it.


if you calculate the price per unit in column F it is much easier.
In F2:
=B2/(C2-D2)*(E2="RETAIL")

In B17 you need:

=IFERROR((VLOOKUP(A17,$A$1:$E$10,2,0)/(VLOOKUP(A17,$A$1:$E$10,3,0)-VLOOKUP(A17,$A$1:$E$10,4,0)))*(VLOOKUP(A17,$A$1:$E $10,5,0)="RETAIL"),"")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


Excel Dumbo

thanks kevin and claus


All times are GMT +1. The time now is 10:30 AM.

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