Formula Help

  • Thread starter Thread starter HeatherJ
  • Start date Start date
H

HeatherJ

I need a formula (will be in L2) to do the following--

IF G2 contains the text "bail" then L2 should be the contents of cells B2 G2
H2 separated by commas.

If G2 does not contain the text "bail" then I want L2 to remain blank.

Any help would be appreciated. Thanks! Heather
 
Hi,

Try this in L2

=IF(G2="Bail",B2&","&G2,"")
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel A CountIF question... I think 2
CountIf with And 0
Help getting 2 formulas into one 2
Percentage Formula 2
Help Writing a SUM Formula 5
formula 1
Simplify formula please 4
How do I average cells that contain #DIV/01? 2

Back
Top