Help with Sumifs

JP9797

New Member
Joined
May 2, 2022
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
I'm trying to create a file that will show me how many people requested vacations on a certain day of a certain month. I plan on using data validation so that just by selecting the month and day it will tell me how many people are on vacation on that specific day without having to go and "manually" check the calendar. But the problem is that my sumifs uses vertical and horizontal criteria and from what Ive read excel doesnt like that. Is there a way to do it? The formula Im using is =SUMIFS(D3:O33,C3:C33,A5,D2:O2,A4) but it keeps returning VALUE! as you can see in the pic
1651528622705.png
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
What are you expecting in A6? 1? Does A5 indicate how many days you are looking at?
 
Upvote 0
I want A6 to tell me how many people are on vacation on January 1st, so yes I expect 1. As for the A5 Its the day that I want to see, so If I change A5 to 3 I want it to tell me how many people are on vacation on January 3rd.
 
Upvote 0
Maybe this?
Code:
=INDEX(D3:O33,A5,MATCH(A4,D2:O2,0))
 
Upvote 0
Solution
Exactly what I was looking for TYVM. Now that I think about it I have no idea why I decided to use sumifs.
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,786
Members
448,992
Latest member
prabhuk279

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