Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi guys,
I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
#2
![]() |
|||
|
|||
![]()
Hi
Into cell in row 1 enter the formula ="AMD" & TEXT(ROW(),"000") and copy down -- When sending mail, use address arvil<attarkon.ee Arvi Laanemets "gizmo" wrote in message ... Hi guys, I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
#3
![]() |
|||
|
|||
![]()
Not sure what you're after (Edit Fill Series Columns .. ??),
but you could play with this .. Select say, A1:A20 Put in the formula bar: ="AMD"&TEXT(ROW(),"000") Array-enter, i.e. press CTRL+SHIFT+ENTER instead of just pressing ENTER The above will fill the range with: AMD001, ... AMD020 (w/o dragging down <g) (but think it's easier just to put in A1: AMD001, and drag down) -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "gizmo" wrote in message ... Hi guys, I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
#4
![]() |
|||
|
|||
![]()
Thanks guys for your input!
However, maybe I was not explicit enough... The goal would be to let one cell unprotected (f. ex. B2), where somebody will put the adequate value (one day it can be AMD005, other day it can be AMD558), and then (in adjacent columns or rows) put in place an automatic formula that will extend this value once and for all, so nobody will have to drag it manually... With sole numbers, the task would be "kinderleicht" (B2 for input, C2 with formula =B2+1, then D2 with formula C2+1 etc...). However, once we have a mix of letters and numbers, the whole exercice becomes more complicated (at least for me:-)). If you could help me on this also... "Max" wrote in message ... Not sure what you're after (Edit Fill Series Columns .. ??), but you could play with this .. Select say, A1:A20 Put in the formula bar: ="AMD"&TEXT(ROW(),"000") Array-enter, i.e. press CTRL+SHIFT+ENTER instead of just pressing ENTER The above will fill the range with: AMD001, ... AMD020 (w/o dragging down <g) (but think it's easier just to put in A1: AMD001, and drag down) -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "gizmo" wrote in message ... Hi guys, I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
#5
![]() |
|||
|
|||
![]()
Let's say we earmark:
B1: AMD (for input of letters) B2: 5 (for input of first number) Put in B3: =$B$1&TEXT($B$2+ROWS($A$1:A1)-1,"000") Copy B3 down by as many rows as desired, say to B100 B3:B100 will then return the sequential alphanumerics: AMD005, ... AMD102 -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "gizmo" wrote in message ... Thanks guys for your input! However, maybe I was not explicit enough... The goal would be to let one cell unprotected (f. ex. B2), where somebody will put the adequate value (one day it can be AMD005, other day it can be AMD558), and then (in adjacent columns or rows) put in place an automatic formula that will extend this value once and for all, so nobody will have to drag it manually... With sole numbers, the task would be "kinderleicht" (B2 for input, C2 with formula =B2+1, then D2 with formula C2+1 etc...). However, once we have a mix of letters and numbers, the whole exercice becomes more complicated (at least for me:-)). If you could help me on this also... |
#6
![]() |
|||
|
|||
![]()
And to fill across from B3,
just change ROWS to COLUMNS in the formula: Put in B3: =$B$1&TEXT($B$2+ROWS($A$1:A1)-1,"000") -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- |
#7
![]() |
|||
|
|||
![]()
Hi
Are last 3 characters always numbers? When yes, then with start value entered into B2 B3=LEFT($B2,LEN($B2)-3) & TEXT(VALUE(RIGHT($B2,3))+1,"000") and copy down -- When sending mail, use address arvil<attarkon.ee Arvi Laanemets "gizmo" wrote in message ... Thanks guys for your input! However, maybe I was not explicit enough... The goal would be to let one cell unprotected (f. ex. B2), where somebody will put the adequate value (one day it can be AMD005, other day it can be AMD558), and then (in adjacent columns or rows) put in place an automatic formula that will extend this value once and for all, so nobody will have to drag it manually... With sole numbers, the task would be "kinderleicht" (B2 for input, C2 with formula =B2+1, then D2 with formula C2+1 etc...). However, once we have a mix of letters and numbers, the whole exercice becomes more complicated (at least for me:-)). If you could help me on this also... "Max" wrote in message ... Not sure what you're after (Edit Fill Series Columns .. ??), but you could play with this .. Select say, A1:A20 Put in the formula bar: ="AMD"&TEXT(ROW(),"000") Array-enter, i.e. press CTRL+SHIFT+ENTER instead of just pressing ENTER The above will fill the range with: AMD001, ... AMD020 (w/o dragging down <g) (but think it's easier just to put in A1: AMD001, and drag down) -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "gizmo" wrote in message ... Hi guys, I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
#8
![]() |
|||
|
|||
![]()
Thanks once again guys, and especially for your last suggestion Arvi!
It looks quite sophisticated (compared to simple dragging down), but works perfectly!! My best wishes, Gizmo "Arvi Laanemets" wrote in message ... Hi Are last 3 characters always numbers? When yes, then with start value entered into B2 B3=LEFT($B2,LEN($B2)-3) & TEXT(VALUE(RIGHT($B2,3))+1,"000") and copy down -- When sending mail, use address arvil<attarkon.ee Arvi Laanemets "gizmo" wrote in message ... Thanks guys for your input! However, maybe I was not explicit enough... The goal would be to let one cell unprotected (f. ex. B2), where somebody will put the adequate value (one day it can be AMD005, other day it can be AMD558), and then (in adjacent columns or rows) put in place an automatic formula that will extend this value once and for all, so nobody will have to drag it manually... With sole numbers, the task would be "kinderleicht" (B2 for input, C2 with formula =B2+1, then D2 with formula C2+1 etc...). However, once we have a mix of letters and numbers, the whole exercice becomes more complicated (at least for me:-)). If you could help me on this also... "Max" wrote in message ... Not sure what you're after (Edit Fill Series Columns .. ??), but you could play with this .. Select say, A1:A20 Put in the formula bar: ="AMD"&TEXT(ROW(),"000") Array-enter, i.e. press CTRL+SHIFT+ENTER instead of just pressing ENTER The above will fill the range with: AMD001, ... AMD020 (w/o dragging down <g) (but think it's easier just to put in A1: AMD001, and drag down) -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "gizmo" wrote in message ... Hi guys, I'm wondering if there is any formula that can replace the manual dragging of the cell for values composed of letters and numbers. The concrete exemple would be: AMD001, AMD002, AMD003 etc... THanks a lot and a happy new year! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
revert formula insertion to old method | Setting up and Configuration of Excel | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) | |||
Help with macro formula and variable | Excel Worksheet Functions | |||
How to I use ** without Excel thinking I want to type a formula? | Excel Discussion (Misc queries) | |||
how to evaluate the content of a string as if it was a formula | Excel Discussion (Misc queries) |