I have a column of number series and I am at 49-25, in this 49 is number and 25 is year,…
- User
I have a column of number series and I am at 49-25, in this 49 is number and 25 is year, I want to add 1 in the number series in the down cell ? excel formula ?
- Assistant
To increment the number while keeping the year the same in Excel, you can use the following formula in the cell below
49-25.Assuming your current value (
49-25) is in cell A1, you can use this formula in cell A2:=TEXT(VALUE(LEFT(A1, FIND("-", A1) - 1)) + 1, "0") & "-" & RIGHT(A1, LEN(A1) - FIND("-", A1))Explanation:
LEFT(A1, FIND("-", A1) - 1): This extracts the number part (49).VALUE(...): Converts the extracted number from text to a numeric value.+ 1: Increments the numeric value by 1.RIGHT(A1, LEN(A1) - FIND("-", A1)): This extracts the year part (25).TEXT(..., "0"): Converts the incremented number back to text.- The
& "-" &concatenates the new number with the year part.
You can drag this formula down to continue the series, and it will always increment the number while keeping the year the same.
- User
can i have a short forumla ?
- Assistant
Certainly! If you want a shorter formula and you're okay with only using cell references, you can simplify it to just focus on the number increment.
Assuming your value
49-25is in cell A1, you can use this formula in cell A2 to increment just the number and keep the year unchanged:=LEFT(A1, FIND("-", A1)-1) + 1 & "-" & RIGHT(A1, LEN(A1) - FIND("-", A1))This will still give you the correct result, incrementing the number while maintaining the original format.
If you prefer an even shorter and simpler version, you can also do it like this, assuming the year is always two digits:
=A1 + 1This will give an error for the formatting, but if you format the cell as text, you could use:
=TEXT(A1 + 1, "0") & RIGHT(A1, 3)This assumes you format it correctly. You will need to manually adjust the year part if it’s not consistent. For completely safe operation, the first formula I provided would be the best way to ensure consistent formatting without errors.
- User
u dont understand, I want to change my number series adding value 1 in every next cell underneth, like right now its 49-25, in the next cell it should be 50-25, and next 51-25 so on, now i need a shortest formula for it
- Assistant
I understand now. You want a simple formula to increment only the number while keeping the year constant in the cells below. Given that, if your initial value of
49-25is in cell A1, you can use the following formula in cell A2:=LEFT(A1, FIND("-", A1)-1) + 1 & "-25"Then in A3:
=LEFT(A2, FIND("-", A2)-1) + 1 & "-25"Each subsequent cell just copies the formula from the cell above, so in A4, you’d enter:
=LEFT(A3, FIND("-", A3)-1) + 1 & "-25"However, if you want a formula that you can just drag down and increment the number series automatically without changing the year part manually, here's a slightly more compact formula for the next cell (assuming you want to also keep this dynamic):
In cell A2, starting the sequence:
=ROW(A1) + 48 & "-25"Then drag the fill handle down to continue the series:
- A3 will become
=ROW(A2) + 48 & "-25"which evaluates to51-25 - A4 will become which evaluates to
- A3 will become
- User
what percentage or ratio for road accidents because of dividors ? all around the world ?
- Assistant
As of my last knowledge update in October 2023, specific global statistics on the percentage or ratio of road accidents attributable to dividers (also known as barriers or medians) can vary widely by region, type of road, infrastructure quality, and many other factors. Unfortunately, there is no universally agreed-upon percentage that quantifies how many accidents are caused specifically by dividers across the world.
- User
I mean a road with some kms of dividor speically for motorbikes and bicycles ??
- Assistant