Excel is used to store, share and analyze data. It has inbuilt formulas that can be customized and combined with each other to achieve the desired results. For example, IF statement incorporates conditional statements. The user can combine IF statement with other functions to add in a conditional statement. These conditions can be based either on some text or numeric value which the formula would automatically check for.
You are trying to get a formula to add + 1 to a total cell based on the word typed. If you type the word 'Duty' in cells B3:B18 then add + 1 to cell B35. If there are 6 entries of duty then 6 should show in B35. However, if there is another word such as 'Leave' then you do not want it to count, you would like those tallied in B36. Is there a way to do this?
To count how many times the word "Duty" appears in the range B3:B18 use this formula in B35:
Confirm this formula by pressing CTRL+Shift+Enter.
Do the same for the word "Leave" in B36 by replacing the word "Duty".
Image: © Unsplash
- Excel if statement increment by 1
- Excel if yes then add 1 - Best answers
- Excel if then add 1 - Best answers
- Excel macro auto increment number - How-To - Excel
- Excel - Copy rows from sheet 1 to sheet 2 - How-To - Excel
- Excel if statement date range - How-To - Excel
- Excel if statement multiple conditions - How-To - Excel
- Match a string to a col & increment by 1 ✓ - Forum - Office Software