Cells display a total or text

[Solved/Closed]
Report
-
 Michael -
Hello,

I have an excel workbook that has cells that display a currency amount U43, U45, U47, U49, U51 and Q53. For example U43 would have $200 in it, then U45 would have $500, and so on. I have T53 with this code in it =SUM($U$43,$U$45,$U$47,$U$49,$U$51,$Q$53) to total the amounts into one box. But if the box displays a text, I want T53 to display the text in the cells. For example if U43 equals $200, U45 equals $500 and U47 equals "No Bond" then I want T53 to display the text "No Bond" instead of calulating the total. I would like it that if any of the cells display the text then Q53 displays the text as well no matter what box has the text.

Thank you.

1 reply

Posts
2818
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
October 18, 2021
486
Hi Michael,

Try this formula in T53:
=IF(T(U43)="",IF(T(U45)="",IF(T(U47)="",IF(T(U49)="",IF(T(U51)="",IF(T(Q53)="",SUM(U43,U45,U47,U49,U51,Q53),Q53),U51),U49),U47),U45),U43)


Best regards,
Trowa
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2821 users have said thank you to us this month

This worked perfectly. Thanks.