formula help

TANUSREE

New Member
Joined
Apr 21, 2022
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Hello there,



THERE IS TWO TABLE..''NUMBER TABLE & LAST DRAWN " .

IN NUMBER TABLE I HIGHLIGHTED A NUMER " 17 " WHICH YOU SEE APPEARS ON 30th, 24th, 23rd & 19th April respectively.

NOW IN THE "LAST DRAWN " TABLE, I HAVE PICKED THE NUMBER 17 THAT APPEARS FROM THE TABLE ( 30TH - 24TH APRIL) AND HIGHLIGHTED IT MANUALLY TO SHOW IT APPEARED 6 DAYS EARLIER ( HIGHLIGHTED IN YELLOW) THEN I HIGHLIGHTED THE NEXT NUM,BER 1 ( 24TH-23RD) APRIL. & SO ON...

The attached xls sheet is an illustration, is there a formula to generate the "last drawn" table for all numbers in the row instead of doing it manually?

Looking forward to hearing from you soon,

Regards


Tanusree
 

Attachments

  • Screenshot (96).png
    Screenshot (96).png
    94.5 KB · Views: 9

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Welcome to the MrExcel forum!

Try:

Book1
ABCDEFGHIJKLMN
1DateNumberLast Drawn
230-Apr161720424749-63157
329-Apr152330313242-48117
428-Apr48182431329-3---
527-Apr2027283738396-1---
626-Apr91021283543--2-42
725-Apr2518232947-1-314
824-Apr51721294143-13-3-
923-Apr121417364449344-13
1022-Apr32326354244--1---
1121-Apr202126304741--1-2-
1220-Apr61112264849---1--
1319-Apr41417264547------
Sheet5
Cell Formulas
RangeFormula
I2:N13I2=IFERROR(AGGREGATE(15,6,ROW(A3:A$25)/(MMULT(--($B3:$G25=B2),{1;1;1;1;1;1})>0),1)-ROW(A2),"-")
 
Upvote 0
Solution

Forum statistics

Threads
1,216,246
Messages
6,129,700
Members
449,528
Latest member
Paula03

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