Thread
:
more if statements and vlookups
View Single Post
#
1
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
more if statements and vlookups
try this idea instead.
=vlookup(b14,yourlookuprng,if(e7="r",7,4),false)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"AmyLRuck" wrote in message
...
I am trying to reference another worksheet with a retail value and a
wholesale value based on a value entered on the purchase sheet (r for
retail
and w for wholesale). This is what I have entered and it isn't working.
=IF(E7="R",(VLOOKUP('b14,Pet Store
Database'!$A$8:$G$75,7,FALSE)),IF(E7="W",(VLOOKUP( 'b14,Pet Store
Database'!$A$8:$D$75,4,FALSE))))
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett