if sum formula

mikeywhits

Board Regular
Joined
Jun 7, 2010
Messages
80
Hi Guys,

I am trying to do the following if formula where if false it will add the contents of cells R49, S49 & T49 together, though instead it is returning R49&S49&T49. Is it possible to do this?

=IF(L49=100%," CRT","SUM(R49&S49&T49)")

Thanks in advance,

Mike
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Vog,

This returns "Value", which the formula is true, but it does not add the contents of the cells R49&S49&T49. The contents of the cell are letters if it helps
 
Upvote 0
Hi Vog,

The formula gives the right outcome - CRT when 100%

=IF(L4=100%," CRT",R4&S4&T4)

Though the CRT is not recognised in other formulas e.g.

=SUMPRODUCT(--(X3:X26="Open"),--ISNUMBER(MATCH(Q3:Q26,{"R","A","G","CRT"},0)),M3:M26)

It adds all values which match these criteria except for CRT.

Any ideas?

Thanks
 
Upvote 0
You need to delete the leading space in " CRT"

=IF(L4=100%,"CRT",R4&S4&T4)
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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