View Single Post
  #3   Report Post  
Kevin@Radstock Kevin@Radstock is offline
Member
 
Posts: 93
Default

@ Claus Busch

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



Quote:
Originally Posted by Claus Busch View Post
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