excel functions help

hello
i am doing work on sheet containing data unit wise sale   sale is retail or whole sale . in a day a saleman sale some product in whole sale and some at retail   i just want to use a single cell for whole sale or retail for each product.
=IF(B7=1,K7*K$85,IF(B7=2,K7*K$86)
previously i hav edone this work for every product.
b7 cell for refference  f1 for retail sale and value 2 for whole sale.
k85 cell contain retail price
k86 contain whole price
 but with this every product goes for whole sale or retail.  how can i use function to  differentiate between whole sale or retail.
can i differentiate it with cell format color or any other
muhammad kashifAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

OddyWriterMr.Commented:
Could it be possible to add 1 column beside your current formula column and input this formula:

=IF(B7=1,"Retail",IF(B7=2,"Whole"))

If you need to differentiate with color, you can set conditional formatting in this column.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OddyWriterMr.Commented:
It's seem, he will not back to close his question.
Answer should be OK for him.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.