Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mo Mo is offline
external usenet poster
 
Posts: 69
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If then statements? Hickeym Excel Worksheet Functions 3 May 15th 06 10:49 PM
if/and statements BobVA Excel Worksheet Functions 6 May 15th 06 06:02 PM
If Statements... Jamesy Excel Discussion (Misc queries) 2 May 9th 06 02:11 PM
If statements df1234 Excel Worksheet Functions 1 June 30th 05 10:50 PM


All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"