Countif

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,059
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Now I have 3 sheets.

On the 3rd sheet I have 2 list of data column A1, a2, a3,a4 counts the data as Landline, Mobile, All Males, All Females.
Were as on the same sheet I have in Column H1, h2,h3 151, 152, 153.
And on sheet2 I have a column as time as r1,r2,r3 (format is mm:ss:0).

And on sheet1 I have time, I just need to count.
Time Landline
9:00:00 =countif(
10:00:00

The problem is it should take the column A1, and H1,H2,H3 from sheet 3 as criterias and time from sheet2 r1,r2,r3. should give the count to landline numbers in sheet1, the sheet1 time will be >=9:00:00 <10:00:00.

Any macro or formula or any other way will be a great help.

thanks.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

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