Hi,
I have a lottery worksheet showing the 15 dozen drawn and would like to find out the 10 dozen that were not drawn.
The numbers are from 1 to 25.
123.JPG
Thank you!
lotofácil_10 números restantes.xlsx
Hi,
I have a lottery worksheet showing the 15 dozen drawn and would like to find out the 10 dozen that were not drawn.
The numbers are from 1 to 25.
123.JPG
Thank you!
lotofácil_10 números restantes.xlsx
In S2:
=SMALL(IF(ISNA(MATCH(COLUMN($A1:$Y1),$C2:$Q2,0)),COLUMN($A1:$Y1)),COLUMN(A1))
... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Then drag copy across.
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.
AliGW, Good Morning!
I tried to use the code that you give me but the code isn't work.
Please, see the picture.
Can you to put on the code on spreedsheet?
Attachment 649397
Thank You
Hi rafa,
Here is Ali's answer on a spreadsheet.
AliGWs Answer.xlsx
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thanks, Marvin.
The OP probably needs semi-colons instead of commas for their loacle:
=SMALL(IF(ISNA(MATCH(COLUMN($A1:$Y1);$C2:$Q2,0));COLUMN($A1:$Y1));COLUMN(A1))
Thank You, Marvin and AliGW.
The code is working perfectlly.
Rafael
It’s not code, it’s a formula.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks