Creating an Array formula

induna

New Member
Joined
Aug 6, 2023
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
On a machine that provides measurements at 4 data points, over any range of intervals, say hourly or daily, what are the most common 4 data points in that period.
In my example spreadsheet by visual observation, the result is shown as the most common data points.In this example of data points over 12 days I can see visually and
calculate the most common data points were 1 -13-11-10
How do I create a formula for four machine data points?
And a formula for a 2nd machine with 6 data points?
I'm not sure how to create the array formula to calculate this.

1691341687796.jpeg
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to the board,

Do you have office 365?

1691417500264.png
 
Upvote 0
Thank you, I will try this for both the 4 and 6 datapoint systems. I will test and let you know.
 
Upvote 0
If you are using xl2016 as per your profile, then you do not have those functions.
 
Upvote 0
If you are using xl2016 as per your profile, then you do not have those functions.
Thank you Fluff, is there a function that could produce the result I'm looking for?
 
Upvote 0
Can you post some sample dat, rather than an image.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
1691435146354.png


Please confirm this with CTRL + SHIFT + ENTER

This is the best I could do, and you have to use TEXT TO COLUMN with the space delimiter to separate them.

The formula for your ease. just copy and paste into your file and adjust the range accordingly (if needed).

=TRIM(CONCAT(IF(COUNTIF(A1:D11,ROW(1:99))=MAX(COUNTIF(A1:D11,ROW(1:99))),ROW(1:99),"")&" "))
 
Upvote 0
Unfortunately Excel 2016 doesn't have the CONCAT function. :(
 
Upvote 0

Forum statistics

Threads
1,215,151
Messages
6,123,319
Members
449,094
Latest member
Chestertim

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