MrDB4Excel
Active Member
- Joined
- Jan 29, 2004
- Messages
- 348
- Office Version
- 2013
- Platform
- Windows
All figures in this Xl2bb Mini Sheet are bogus and only shown to give value to the sheet.
To carry on from my posted thread yesterday, 4 December 2022, I am attempting to create a list of dates, which have the same count number, and yet are relevant to a specific number in the Main Rate column.
In other words, with cell O8 showing the number 2, and with cell C8 showing 21.578, then the sought-after formula would provide a list of the two dates associated with the rate of 21.578.
Similarly, with cell O12 showing the number 3, and with cell C12 showing 23.763, then the sought-after formula would provide a list of the two dates associated with the rate of 23.763.
This Xl2bb Mini Sheet is but a fraction example of another sheet, which will be updated when I learn of some, sought-after formula that will do what I have been searching about.
It may not be necessary to pay any attention to the formulas you find in the Xl2bb Mini Sheet because those are my feeble attempts and may not be what is needed anyway.
The column titled “Lookup Number” is only a list of possible duplicate counts that could exist in the much larger Excel file from which these examples have been taken.
And, if this is not enough then is it possible to infill dates into the relevant cells in the column titled “Extra Dates Per Specific Rate” or is this a difficult venture due to the fact there will be more than one rate that has one or more duplicates yet simultaneously different dates. In other words, the rate 21.688, of which there are two, have dates different than the dates shown for the rate 21.578.
Please help and if something isn’t clear let me know and I will do my best to clarify.
Any help is much appreciated.
To carry on from my posted thread yesterday, 4 December 2022, I am attempting to create a list of dates, which have the same count number, and yet are relevant to a specific number in the Main Rate column.
In other words, with cell O8 showing the number 2, and with cell C8 showing 21.578, then the sought-after formula would provide a list of the two dates associated with the rate of 21.578.
Similarly, with cell O12 showing the number 3, and with cell C12 showing 23.763, then the sought-after formula would provide a list of the two dates associated with the rate of 23.763.
This Xl2bb Mini Sheet is but a fraction example of another sheet, which will be updated when I learn of some, sought-after formula that will do what I have been searching about.
It may not be necessary to pay any attention to the formulas you find in the Xl2bb Mini Sheet because those are my feeble attempts and may not be what is needed anyway.
The column titled “Lookup Number” is only a list of possible duplicate counts that could exist in the much larger Excel file from which these examples have been taken.
And, if this is not enough then is it possible to infill dates into the relevant cells in the column titled “Extra Dates Per Specific Rate” or is this a difficult venture due to the fact there will be more than one rate that has one or more duplicates yet simultaneously different dates. In other words, the rate 21.688, of which there are two, have dates different than the dates shown for the rate 21.578.
Please help and if something isn’t clear let me know and I will do my best to clarify.
Any help is much appreciated.
ReturnDatesMatchCells.xlsx | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | Time | Date | Main Rate | Support Rate | Extra Dates Per Specific Rate | 21 | 23 | 23 | D Col Count | COUNT | Duplicate Count | Lookup Number | |||||||||||
2 | Min ððð | 62,341.30 | 2,900 | $B$23 | 21 | ||||||||||||||||||
3 | Max ððð | 68,912.70 | 3,100 | ||||||||||||||||||||
4 | 9:26:09 | Fri-01 April 2022 | 21.574 | 21.578 | 62,564.60 | 1 | 2,900 | 1 | 1 | Wed-06 April 2022 | Fri-01 April 2022 | 21.574 | 2 | Fri-01 April 2022 | |||||||||
5 | 0.004 | 0 | 3 | ||||||||||||||||||||
6 | 17:47:32 | Mon-04 April 2022 | 21.497 | 21.501 | 62,341.30 | 1 | 2,900 | 1 | 1 | 21.497 | 4 | ||||||||||||
7 | 0.004 | 0 | 5 | ||||||||||||||||||||
8 | 8:11:17 | Wed-06 April 2022 | 21.578 | 21.582 | 62,576.20 | 1 | 2,900 | 2 | 2 | 21.578 | |||||||||||||
9 | 0.004 | 0 | |||||||||||||||||||||
10 | 8:06:34 | Thu-07 April 2022 | 21.578 | 21.582 | 62,576.20 | 1 | 2,900 | 2 | 2 | 21.578 | |||||||||||||
11 | 0.004 | 0 | |||||||||||||||||||||
12 | 12:24:17 | Fri-25 November 2022 | 23.763 | 23.767 | 68,912.70 | 1 | 2,900 | 3 | 3 | 23.763 | |||||||||||||
13 | 0.004 | 0 | |||||||||||||||||||||
14 | 9:19:06 | Sat-26 November 2022 | 23.763 | 23.767 | 68,912.70 | 1 | 2,900 | 3 | 3 | 23.763 | |||||||||||||
15 | 0.004 | 0 | |||||||||||||||||||||
16 | 7:21:11 | Sun-27 November 2022 | 23.763 | 23.767 | 68,912.70 | 1 | 2,900 | 3 | 3 | 23.763 | |||||||||||||
17 | 0.004 | 0 | |||||||||||||||||||||
18 | 15:05:29 | Fri-07 April 2023 | 21.679 | 21.684 | 67,204.90 | 1 | 3,100 | 1 | 1 | 21.679 | |||||||||||||
19 | 0.005 | 0 | |||||||||||||||||||||
20 | 8:29:10 | Sat-08 April 2023 | 21.688 | 21.693 | 67,232.80 | 1 | 3,100 | 2 | 2 | 21.688 | |||||||||||||
21 | 0.005 | 0 | |||||||||||||||||||||
22 | 17:47:39 | Sun-09 April 2023 | 21.688 | 21.693 | 67,232.80 | 1 | 3,100 | 2 | 2 | 21.688 | |||||||||||||
23 | 0.005 | 0 | |||||||||||||||||||||
Test1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
J1 | J1 | =EXTRACTNUMBERS(M2,TRUE) |
K1 | K1 | =SUM(J1+2) |
L1 | L1 | =EXTRACTNUMBERS(K1) |
L2 | L2 | =ADDRESS(L1,2) |
M2 | M2 | =COUNTA(D:D) |
F2 | F2 | =MIN($E$4:$E$17) |
F3 | F3 | =MAX($E$4:$E$17) |
E4,E22,E20,E18,E16,E14,E12,E10,E8,E6 | E4 | =IFERROR(IF(SUM(C4*H4)=0,"",(SUM(C4*H4))),"") |
H4,H22,H20,H18,H16,H14,H12,H10,H8,H6 | H4 | =IF(YEAR(B4)=2022,$H$2,IF(YEAR(B4)=2023,$H$3,"")) |
N4,N22,N20,N18,N16,N14,N12,N10,N8,N6 | N4 | =SUM(IF($C$4:$C$22=C4,1,0)) |
O4,O22,O20,O18,O16,O14,O12,O10,O8,O6 | O4 | =COUNTIF($C$4:$C$22,C4) |
P4 | P4 | =XLOOKUP(2,O4:O22,B4:B22,0) |
R4,S4:S22 | R4 | =IF(B4=0,"",B4) |
U4 | U4 | =INDEX($B$4:$B$26, SMALL(IF(COUNTIF($T$4, $O$4:$O$22)*COUNTIF($R$4, $B$4:$B$26), ROW($B$4:$O$22)-MIN(ROW($B$4:$O$22))+1), ROW(A1)), COLUMN(A1)) |
G5:G23 | G5 | =MOD(ROWS(G$2:G3),2) |
Press CTRL+SHIFT+ENTER to enter array formulas. |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A4:D23 | Expression | =$G4=0 | text | NO |