Solved

Putting a value of "NO" in a column based on the values in two other columns

Posted on 2015-01-21
5
50 Views
Last Modified: 2015-01-24
Experts,

I am trying to identify Id's (column A) that have no status (Column B) equal to "C3".   The file is sorted by ID.  If there is an ID with no "C3" found in Column "B" I would like to put a "NO' in column "C" as indicated in rows 31 and 32.  

Can someone help me with th formula to do this.
paid.xls
0
Comment
Question by:morinia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 15

Expert Comment

by:Berkson Wein
ID: 40562024
in cell C2, type this formula
=if(B2="C3","","No")

Open in new window


Then copy and paste that formula down the c column.

What this does:
If cell B2 equals the status text "C3", then leave C3 blank.  If not, put No.

Hope this is what you want.
0
 
LVL 51

Expert Comment

by:Rgonzo1971
ID: 40562028
HI,

pls try

=IF(COUNTIFS(A:A,A2;B:B,"C3")=0,"No","")

Regards
0
 

Author Comment

by:morinia
ID: 40562081
Rgonzo1971,

It worked perfectly except I found out the value in "W" can be "C2", "C3" or C4".    Can this  be modified to check for a value other than "C1"  instead of looking for "C3".

I am sorry I asked the wrong question, I just found out the other values could be in the column.
0
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40562089
pls try

IF(COUNTIFS(A:A,A2;B:B,"<>C1")=0,"No","")
0
 
LVL 15

Expert Comment

by:Berkson Wein
ID: 40562090
Either my formula or Rgonzo1971's can be easily modified.  Just replace the C3 in each with C1.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question