=COUNTIFS(Sheet1!A2:A5,Sheet2!D2,Sheet1!B2:B5,"*"&"sales"&"*")>0
will proved the true false
I want to make a third tab which pulls total spend by project cluster and location
whats a project cluster ?
the example
Michigan DC , does not have sales in the example
TAB1
Book3 |
---|
|
---|
| A | B |
---|
1 | Project Number | Project Name |
---|
2 | 1234 | Sales Software Development |
---|
3 | 4567 | Marketing materials |
---|
4 | 7894 | Furniture Purchase |
---|
5 | 8829 | Sales Suite Fit Out |
---|
|
---|
TAB2
Book3 |
---|
|
---|
| A | B | C | D | E |
---|
1 | Invoice Number | Site | Amount | Project Code | Project Type |
---|
2 | Invoice 1 | HQ | $50,000 | 1234 | TRUE |
---|
3 | Invoice 2 | Michigan DC | $14,000 | 4567 | FALSE |
---|
4 | Invoice 3 | Washington State | $7,500 | 8829 | TRUE |
---|
|
---|
SUMIFS() is probably the formula ??? but I'm not sure whats required on the 3rd TAB
A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.
MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.
Excel 'mini-sheet' in messages - XL2BB Although experts prefer to read your description and question instead of working in your actual file to solve your problem, there are times that it is difficult to explain an issue without providing actual...
www.mrexcel.com
You can also test to see if it works ok, in the "Test Here" forum.
Use this forum to test your signature, learn bbcode, smilies, XL2BB, etc. Threads in this forum are automatically deleted after no replies for seven (7) days
www.mrexcel.com
OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed