Hello,
Looking for a formula which will locate a cost centre within a string of text in a cell, and then sum the corresponding hours booked to that cost centre.
Example attached.
Thanks geniuses!!
example.xlsx
Hello,
Looking for a formula which will locate a cost centre within a string of text in a cell, and then sum the corresponding hours booked to that cost centre.
Example attached.
Thanks geniuses!!
example.xlsx
Maybe
=SUMIF(F:F, B2&"*", G:G)
![]()
=sum(--isnumber(search("*"&c2&"*",f2:f7))*g2:g7)
Ben Van Johnson
Administrative Note:
Is your forum profile up-to-date and showing ONLY the oldest Excel PRODUCT that you need this to work for?
Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.
The three most recent Excel products are Excel 2019, Excel 2021, Excel 2024 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.
Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks