hello
i have some data at different times on days as attach file and what i want its exreact average or min or max by day for C,P ,Cr with ignore zero val
i use 365 office
thanks
hello
i have some data at different times on days as attach file and what i want its exreact average or min or max by day for C,P ,Cr with ignore zero val
i use 365 office
thanks
Last edited by mami502003; 03-14-2021 at 09:45 AM. Reason: update
Welcome to the forum.
Which version of Excel are you using? Please update your forum profile.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
One way:
Dates:
=UNIQUE(FILTER(INT(A2:A100),A2:A100<>""))
Average (copied across):
=AVERAGEIFS(B:B,B:B,"<>0",$A:$A,">="&$G3#,$A:$A,"<"&$G3#+1)
similarly for min & max. see file.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Thanks for your help but can I make the date of day calculations start from 8 am and end at 8 am in next date day as example the d ay 21 start at 8 am 21 and end 22 am and the day 22 start at 8 am and end at 8 am 23 etc and can making this in the the file attach up
You should have asked for that in Post 1...
Try this... it looks a bit odd, but it's probably because your data set jumps from 2-3 January to 30-21 January... with nothing in between.
I am sorry bu can give me the formula to make it if I have a lot of data in 30 day in month
It should work. Try it on a larger dataset, adusting the ranges.
excuse me when i copy the formula to another sheet and do the steps show in cell NAME and give me his message you cant change in array so where the wrong part can help me to making it on other data or any data i want to make its as this way
Last edited by mami502003; 03-16-2021 at 08:40 AM. Reason: add
Please have any method else unique formula because my 365 not update from it so any solution
Please post a file shorlwing the error and confirm the Excel version that you were using.
i have office 365 but the version is 1.910 and the UNIQUE & FILTER Formula start work from version 1.911 and updates closed from It in my company so any other way to do this else using UNIQUE & FILTER formula with my best regrades
For averages
=AVERAGEIFS(B:B,$A:$A,">=" &$E3+8/24,$A:$A,"<" &$E3+32/24,B:B,"<>0")
For MIN
=AGGREGATE(15,6,(B:B)/((B:B>0)*($A:$A>=$E3+8/24)*($A:$A<$E3+32/24)),1)
for MAX
=AGGREGATE(14,6,(B:B)/((B:B>0)*($A:$A>=$E3+8/24)*($A:$A<$E3+32/24)),1)
thanks very much worked but if i want count how can do this
thanks i solved its
in O3
=COUNTIFS($A:$A,">=" &$E3+8/24,$A:$A,"<" &$E3+32/24,B:B,"<>0")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks