Multiple formula in one cell

chris007

Board Regular
Joined
Jun 27, 2011
Messages
82
Hello,
I put a question here yesterday but i don't think i explained the issue properly hopefully this does

I want to have in one cell 3 inputs from differeent cells based on different criteria the formula that i have oput together below outlines what I would like to happen but obviously does not work at present.

=IF(CS4>0,"RRR",+CS4)
=IF(CU4>0,"MFL ($)",CU4)
=IF(BM4>1,"MFL (HSE)",BM4)

So the values associated with CS4, CU4 and BM4 I would like in the single cell CV4 with the txt preceeding the values and to be on seperate lines within the CV4 cell.

Is this at all possible to do?

Thank you
regards
Chris007
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi Chris,

Set CV4 to use word wrapping and make it tall enough to accept three rows of data, then use this formula:

=IF(CS4>0,"RRR",CS4)&CHAR(10)&IF(CU4>0,"MFL ($)",CU4)&CHAR(10)&IF(BM4>1,"MFL (HSE)",BM4)
 
Upvote 0
MV
Thanks for the info I did not think of the wrap function to force the line item.

Thanks aagin and the formula works fine

Appreciate the time in workign this for me

regards
Chris007
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,749
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top