no
you could use a countif , as each occurance will be a 1
=COUNTIF(range with the true / false in,TRUE)
i'm assuming the same column
or do you want to sum a different column base on the other column row having a TRUE
then sumif() will work
=SUMIF(range with true in,TRUE,range with numbers to sum)
Book2 |
---|
|
---|
| A | B |
---|
1 | | |
---|
2 | TRUE | 1 |
---|
3 | TRUE | 5 |
---|
4 | FALSE | 4 |
---|
5 | FALSE | 3 |
---|
6 | COUNT | SUM |
---|
7 | 2 | 6 |
---|
|
---|
otherwise
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.
This will possibly enable a quicker and more accurate solution for you.
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
Make sure you set any share or google to share to everyone