Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
I am using this formula to multiply all the digits in an integer: =PRODUCT(VALUE(MID(C55,ROW(A1:OFFSET(A1,LEN(C55)-1,0)),1))) So far so good... But I want to copy this array formula for a large range of cells, each with a different integer. But my understanding is that an array formula must be the same for the range of cells. How can I get it to update to different cells (C55 in the above formula, the next one is C64, e.g.) like a regular formula? Thanks, Jeff |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Just drag down (or copy) like a normal formula, Excel shall update relative
references alike in case of regular formulae. Regards, Stefi €˛Jeff€¯ ezt Ć*rta: Hello, I am using this formula to multiply all the digits in an integer: =PRODUCT(VALUE(MID(C55,ROW(A1:OFFSET(A1,LEN(C55)-1,0)),1))) So far so good... But I want to copy this array formula for a large range of cells, each with a different integer. But my understanding is that an array formula must be the same for the range of cells. How can I get it to update to different cells (C55 in the above formula, the next one is C64, e.g.) like a regular formula? Thanks, Jeff |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have you tried a straight copy and paste to another cell? Doesn't the
C55 change relative to where you have copied it to? Pete On Sep 28, 10:51 am, Jeff wrote: Hello, I am using this formula to multiply all the digits in an integer: =PRODUCT(VALUE(MID(C55,ROW(A1:OFFSET(A1,LEN(C55)-1,0)),1))) So far so good... But I want to copy this array formula for a large range of cells, each with a different integer. But my understanding is that an array formula must be the same for the range of cells. How can I get it to update to different cells (C55 in the above formula, the next one is C64, e.g.) like a regular formula? Thanks, Jeff |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Sep 28, 3:33 am, Stefi wrote:
Just drag down (or copy) like a normal formula, Excel shall update relative references alike in case of regular formulae. Regards, Stefi ,,Jeff" ezt ķrta: Hello, I am using this formula to multiply all the digits in an integer: =PRODUCT(VALUE(MID(C55,ROW(A1:OFFSET(A1,LEN(C55)-1,0)),1))) So far so good... But I want to copy this array formula for a large range of cells, each with a different integer. But my understanding is that an array formula must be the same for the range of cells. How can I get it to update to different cells (C55 in the above formula, the next one is C64, e.g.) like a regular formula? Thanks, Jeff Stefi and Pete, Thanks for helping me out here, but cut and paste doesn't work in this case. All I get is the #Value in all of the cells or exactly the same value in every cell. Any other ideas? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Which part of the formula do you want to copy, if you want to copy and have
the formula to change to =PRODUCT(VALUE(MID(C56,ROW(A2:OFFSET(A2,LEN(C56)-1,0)),1))) when you copy it down one row then you can just drag the formula using the fill handle, if you want parts of the formula to stay the same like =PRODUCT(VALUE(MID(C56,ROW($A$1:OFFSET($A$1,LEN(C5 6)-1,0)),1))) so C55 changes to C56 but A1 stays the same then you need to use the dollar signs as I did then use the fillhandle and copy If you get a value error it means that you are trying to calculate a cell with text =VALUE(A2) with a in A2 will return value. Normally you use VALUE to force text numbers into real numbers. Finally if the formula stays the same then you can do toolsoptionscalculation and make sure the calculation is set to automatic. Also make sure the formatting is not text -- Regards, Peo Sjoblom Stefi and Pete, Thanks for helping me out here, but cut and paste doesn't work in this case. All I get is the #Value in all of the cells or exactly the same value in every cell. Any other ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
array formula | Excel Worksheet Functions | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
Array formula and #N/A | Excel Worksheet Functions | |||
Array Formula | Excel Discussion (Misc queries) | |||
Array Formula - using LEFT("text",4) in formula | Excel Worksheet Functions |