sksanjeev786
Well-known Member
- Joined
- Aug 5, 2020
- Messages
- 961
- Office Version
- 365
- 2016
- Platform
- Windows
Hi Team
I need a number ranking on column N4 to N9 so where ever i have True I need data num 2 (N4+1) and false will have same number and next true it will 4 since 2 number came twice see the output in column O
I need a number ranking on column N4 to N9 so where ever i have True I need data num 2 (N4+1) and false will have same number and next true it will 4 since 2 number came twice see the output in column O
TD Macro.xlsm | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | |||
3 | Output | |||||||||||||||||
4 | A | TD Bank | 17 | 17 | B | Bank of America | 55 ACDEF | 55 | 1 | 1 | 1 | |||||||
5 | B | Bank of America | 55 ACDEF | 55 | E | Chase | 38 ACD | 38 | 7 | TRUE | 2 | |||||||
6 | C | Capital One | 23 | 23 | F | Wells Fargo | 33 ACD | 33 | #VALUE! | FALSE | 2 | Same Number | ||||||
7 | D | Citibank | 20 | 20 | C | Capital One | 23 | 23 | 5 | TRUE | 4 | |||||||
8 | E | Chase | 38 ACD | 38 | D | Citibank | 20 | 20 | #VALUE! | FALSE | 4 | Same Number | ||||||
9 | F | Wells Fargo | 33 ACD | 33 | A | TD Bank | 17 | 17 | #VALUE! | FALSE | 4 | Same Number | ||||||
Sheet2 (3) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H4:K9 | H4 | =CHOOSECOLS(SORTBY(A4:G9,G4:G9,-1),1,2,3,7) |
M5:M9 | M5 | =SEARCH(H5,J4) |
N5:N9 | N5 | =ISNUMBER(SEARCH(H5,J4)) |
G4:G9 | G4 | =VALUE(IFERROR(LEFT(C4,2),LEFT(C4,1))) |
Dynamic array formulas. |