Last highest value in unordered lists with headings

jarod_007

New Member
Joined
Jun 8, 2021
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Column A of my list looks something like this:


Activity ID
January
ACT-001
ACT-002
ACT-004
February
ACT-003
ACT-005
ACT-006
March
ACT-007
ACT-010
April
ACT-008
ACT-009

and so forth.

I want to be able to find the next value to use as an ID. That is, what is the next ACT-xxx number.

Is this even possible with headers in the column?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi there,

Try this to find the following Activity:

Excel Formula:
=MAX(IFERROR(VALUE(RIGHT(A2:A100,3)),0))+1

This is an array formula, if Excel is not 365, will need CTRL+SHIFT+ENTER.
 
Upvote 0
Solution
Hi there,

Try this to find the following Activity:

Excel Formula:
=MAX(IFERROR(VALUE(RIGHT(A2:A100,3)),0))+1

This is an array formula, if Excel is not 365, will need CTRL+SHIFT+ENTER.
Thank you!! This worked a treat!
 
Upvote 0
You're welcome!!,

Please mark the post that solved your problem as Solution.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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