×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

EXCEL-formula help
2

EXCEL-formula help

EXCEL-formula help

(OP)

Good afternoon, Experts.
I'm need a formula to calculate COL-C.
If both A and B have data, then I need the result (in COL-C) to show both fields separated by a / character.
If only one of A or B have data, then I need the result (in COL-C) to show just the one field (no / character).
I'm very rusty with these excel if formulas so I'm hoping one of you guys could help me out.
Thanx in advance!

Example - desired results

COL-A COL-B COL-C
3333 3333
2222 3333 2222/3333
9999 9999

RE: EXCEL-formula help

Hi,

Your desired results, I'm guessing...
COL-A	COL-B	COL-C
2222		2222
2222	3333	2222/3333
4444		4444
 

Formula
C2:=A2&IF(ISBLANK(B2),"","/"&B2)

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

You Matter...
unless you multiply yourself by the speed of light squared, then...
You Energy!

RE: EXCEL-formula help

Your 'Example - desired results' are wrong sad

Try this formula in cell C2: =IF(OR(ISBLANK(A2), ISBLANK(B2)), A2 & B2,A2 &"/" & B2)

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: EXCEL-formula help

(OP)
Perfect! thanx, Skip!

RE: EXCEL-formula help

Quote (TomSalvato)

If only one of A or B have data...

So, this is also a possibility:

COL-A	COL_B	COL_C
2222		
2222	3333	
4444		
	5555	
 

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: EXCEL-formula help

(OP)
Combo - never even heard of that formula. Does exactly what I needed. Thanks again, sir.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close