Creating Serials and Searching Above

glenbethel

New Member
Joined
May 30, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Thanks ahead of time Excel gurus.. Effectively I have a spreadsheet where I have columns that allow the selection of some info and then based on that info I want the function to come along to a certain cell.. search upwards in the column until it finds the last non-empty cell ... From there I am simply going to increment that cell by one to create my ascending serial numbers. I've also put a pic in if that helps explain what i want to do .
1653886654313.png
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Upvote 0
Solution
Vinzo01.xlsb
DEFG
3202200000
4
508 
605 
710 
801 
909 
1003202200001
1108 
1204 
1307 
1408 
1510 
1602 
1708 
1808 
1907 
2007 
2101 
2207 
2308 
2404 
2510 
2606 
2702 
2810 
2901 
3005 
3107 
07.01.22
Cell Formulas
RangeFormula
D5:D31D5=TEXT(RANDBETWEEN(1,10),"00")
G5:G31G5=IF(D5="03",MAX($G$1:G4)+1,"")

Vinzo01.xlsb
DEFG
3202200000
4
508 
605 
710 
801 
909 
1003202200001
1108 
1204 
1307 
1408 
1510 
1602 
1708 
1808 
1907 
2007 
2101 
2207 
2308 
2404 
2510 
2606 
2702 
2810 
2901 
3005 
3107 
07.01.22
Cell Formulas
RangeFormula
D5:D31D5=TEXT(RANDBETWEEN(1,10),"00")
G5:G31G5=IF(D5="03",MAX($G$1:G4)+1,"")
You kind Sir/Madam, are a legend !!!
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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