Hello. I need some help with scenario testing and coming up with a simple "multiply by" that I can drag across a table. Spreadsheet attached. Thanks.
Hello. I need some help with scenario testing and coming up with a simple "multiply by" that I can drag across a table. Spreadsheet attached. Thanks.
excel.xlsx
don't know if this could work.
have to go will look at this tommorow.
the formula is array (ctrl+shift+enter)
i based my formula on the output you gave and not tested for other instances of those 1's.
like
1 1 1 1 space space 1 1 1
I think people forget the word "THANK YOU!!!!" Do you still know it???
There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "
Regards,
Vladimir
@vlady. It seems like it worked but could you explain each part of the formula, particularly the Match part. And why is it an array? I never understand arrays![]()
The problem that i saw is how to move the column-index-numberof the vlookup so i came up with the array formula
=VLOOKUP($J$2,$B$9:$H$10,MATCH(TRUE,LEN(C2:$I2)<>0,0)+SUM($B2:C2),FALSE)*C2
MATCH(TRUE,LEN(C2:$I2)<>0,0) is really the array part(return arrays of {1,1,1,1,1,0}... it find the first value(not blank) in the range C2:$I2.. returning 1 the formula is adjusted when drag from
LEN(C2:$I2) to LEN(D2:$I2)
then we have the +SUM($B2:C2) add the numeric figures so in this part we received again another 1
so
1+1 =2 as our Column-Index-Number....
Try a combo box
Last edited by Xx7; 01-23-2014 at 11:31 PM.
with functions maybe like this
Last edited by martindwilson; 01-24-2014 at 12:05 AM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks