ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to do if and or else statements (https://www.excelbanter.com/excel-worksheet-functions/131267-how-do-if-else-statements.html)

Mo

how to do if and or else statements
 
I have 2 tables, one table i have information about the product name,
category and price. so a product can be CAT a,b,c or d

The second table has information about the percent i want of the product
price in the 1st table.

SO i need to do a statemant saying if product in table 1 is category Ab,c or
d then choose the percent in table 2 for cat A, b, c, or d and multiply it by
the price from table 1

Toppers

how to do if and or else statements
 
If I understand your requirement, VLOOKUP (or INDEX) is a better solution.

Can you give examples of your tables and the "lookup" you require?

HTH

"mo" wrote:

I have 2 tables, one table i have information about the product name,
category and price. so a product can be CAT a,b,c or d

The second table has information about the percent i want of the product
price in the 1st table.

SO i need to do a statemant saying if product in table 1 is category Ab,c or
d then choose the percent in table 2 for cat A, b, c, or d and multiply it by
the price from table 1



All times are GMT +1. The time now is 02:11 AM.

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