Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

Trying to get a sum of cells column D(trip cost) based off if an adjacent cell in column B(trip description) has the text "USSS" in it. So if cells B4,B8, B12 and B20 have USSS in the text then it will total up the amounts from the corresponding cells in column D.
Solved by D. J. in 20 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 10/08/2018 - 06:46
Hello
Excelchat Expert 10/08/2018 - 06:46
Welcome
User 10/08/2018 - 06:46
hello
Excelchat Expert 10/08/2018 - 06:47
Do you want me to give you the general idea on how you can do the sum yourself or you want me to do the task?
User 10/08/2018 - 06:48
you can do it please
Excelchat Expert 10/08/2018 - 06:48
Alright, I need the file.
Excelchat Expert 10/08/2018 - 06:48
Please upload it by clicking on the paperclip icon.
User 10/08/2018 - 06:49
[Uploaded an Excel file]
User 10/08/2018 - 06:49
it is in the travel Tab
Excelchat Expert 10/08/2018 - 06:49
Understood.
Excelchat Expert 10/08/2018 - 06:50
I will create a cell named USSR cost and the sum would be showed in the next cell. How does that sounds?
Excelchat Expert 10/08/2018 - 06:51
Sorry USSS, not USSR.
User 10/08/2018 - 06:51
Ive already got a cell off to the side like that
Excelchat Expert 10/08/2018 - 06:52
I'm sorry for asking, where is that cell again? I can't find it yet.
User 10/08/2018 - 06:53
in the travel tab on the right side of the sheet
Excelchat Expert 10/08/2018 - 06:54
Can you please mention the cell name?
User 10/08/2018 - 06:54
H4
Excelchat Expert 10/08/2018 - 06:55
=SUMIF(B3:B40,"*"&"USSS"&"*",E3:E40)
Excelchat Expert 10/08/2018 - 06:55
Please use this formula in a cell where you want to see the result.
Excelchat Expert 10/08/2018 - 06:56
[Uploaded an Excel file]
Excelchat Expert 10/08/2018 - 06:56
And here is the file. The formula is applied in H4.
User 10/08/2018 - 06:57
Thank you
User 10/08/2018 - 06:57
Works. Thank you
Excelchat Expert 10/08/2018 - 06:57
My pleasure.
Excelchat Expert 10/08/2018 - 06:57
Please consider leaving a 5 star rating for me if you think I was able to help you.
Excelchat Expert 10/08/2018 - 06:57
TO rate me you have to close the chat by clicking on the END button.
Excelchat Expert 10/08/2018 - 06:58
Thank you, have a great day!

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.