Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ssb ssb is offline
external usenet poster
 
Posts: 4
Default Get values in a column based on values in two other columns

Hello,

I have a situation, wherein, Column-A and Column-B can have one of the
three values: Low, Medium, High. I would like Column C to be filled up
with a value based on the combination of values in column A and B.

For example:

column A Column B Column C
low low 2
low medium 10

Use of =IF(AND(A1='Low',B1='low'),2,1000) works for only one such
combination. I would like all such cases to be "ORed".

Any help would be great...!! Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Get values in a column based on values in two other columns

something like this (for row 3) add as many combinations as you like

=AND(A3="low",B3="low")*2+AND(A3="low",B3="medium" )*10

"ssb" wrote:

Hello,

I have a situation, wherein, Column-A and Column-B can have one of the
three values: Low, Medium, High. I would like Column C to be filled up
with a value based on the combination of values in column A and B.

For example:

column A Column B Column C
low low 2
low medium 10

Use of =IF(AND(A1='Low',B1='low'),2,1000) works for only one such
combination. I would like all such cases to be "ORed".

Any help would be great...!! Thanks.


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
Sum values in columns based on values in named range Mikael Andersson Excel Worksheet Functions 10 November 12th 08 09:37 AM
How can SUM a column based on values of other columns? Labkhand New Users to Excel 6 October 17th 08 05:18 PM
Adding numerical values based on multiple values in another column Kazmaniac Excel Worksheet Functions 6 April 4th 07 08:53 PM
Add up a column based on values in other columns Jay[_2_] Excel Worksheet Functions 5 February 17th 07 01:02 AM
looking up values in 1 column based on 2 other columns CMO Excel Worksheet Functions 5 August 8th 06 02:41 PM


All times are GMT +1. The time now is 07:20 AM.

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

About Us

"It's about Microsoft Excel"