Formula Help

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
 
M

Mike H

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

Top