ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula help (https://www.excelbanter.com/excel-discussion-misc-queries/139895-formula-help.html)

joker_r_me[_2_]

Formula help
 
what I want to do is combine F2 and G2 (separated with a comma) if A2 and C2
match
If A2 and C2 do not match I want to combine H2 and I2 (separated with a comma)

is that possible in Excell?


Dave Peterson

Formula help
 
No need to start a new thread.

joker_r_me wrote:

what I want to do is combine F2 and G2 (separated with a comma) if A2 and C2
match
If A2 and C2 do not match I want to combine H2 and I2 (separated with a comma)

is that possible in Excell?


--

Dave Peterson

Mike

Formula help
 
try this
=IF(A2=C2,F2&","&G2,IF(A2<C2,H2&","&I2))

"joker_r_me" wrote:

what I want to do is combine F2 and G2 (separated with a comma) if A2 and C2
match
If A2 and C2 do not match I want to combine H2 and I2 (separated with a comma)

is that possible in Excell?


Teethless mama

Formula help
 
=IF(A2=C2,F2&","&G2,H2&","&I2)

"joker_r_me" wrote:

what I want to do is combine F2 and G2 (separated with a comma) if A2 and C2
match
If A2 and C2 do not match I want to combine H2 and I2 (separated with a comma)

is that possible in Excell?


Stan Brown

Formula help
 
Sat, 21 Apr 2007 13:06:02 -0700 from joker_r_me
:
what I want to do is combine F2 and G2 (separated with a comma) if A2 and C2
match
If A2 and C2 do not match I want to combine H2 and I2 (separated with a comma)

is that possible in Excell?


I don't know what Excell might be, but you can do it in Excel. The
formula is


=if(A2=C2, F2&","&G2, H2&","&I2)
--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com