IF AND FORMULA WITH CONDITION

furqan_q

New Member
Joined
Dec 21, 2017
Messages
19
HI, i need one formula covering all conditions, if in b2 is "3rd party" and c2 is "brand" then result should be "P-12000 AND if i change b2 with "arc" and c2 with "office" then result should be "OF-12000" and so on, but all from b2 to b8 i need condition in one formula .I attached the jpeg file . Thanks
 

Attachments

  • FORMULA.JPG
    FORMULA.JPG
    63.5 KB · Views: 9
Best way would be to have a separate column with "3rd partybrand" "arcbrand" etc, then the relevant "P-", "A-", etc in the next column, then use vlookup to get the results.
Where 'table' refers to the list described above, the formula would be something like this.
Excel Formula:
=VLOOKUP(B2&C2,table,2,0)&D2
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top