Function query

tintostu

New Member
Joined
Nov 11, 2005
Messages
40
I have a sheet where i have Mon, Tues, wed/etc.

On these days I have a list that incudes a number could be anything from 1-100.

So if someone enters say Monday 20, Tuesday 56, Wednesday 9, Thursday 0, Friday 0, Saturday 2, Sunday 23

How to a get a field at the end of this to say this person has worked for x amount of days .

In this case it would be 5 days as the ones that say 0 the person has not worked that day.

So in short how to you add the numbers up, what ever the number as 1 and then **** all these up to work out how many days that person was in for

Does this make sense?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
If your numbers are in a range you can use countif, such as
=COUNTIF(D1:D5,">0")
 
Upvote 0

Forum statistics

Threads
1,226,240
Messages
6,189,822
Members
453,572
Latest member
mrjohn500

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top