Hi!
I'd like to know how I can fill a table column incrementally up to a variable number (please see image attached).
EXCEL QUESTION.png
Thank you in advance for your help!
F
Hi!
I'd like to know how I can fill a table column incrementally up to a variable number (please see image attached).
EXCEL QUESTION.png
Thank you in advance for your help!
F
in K4
=IF(K3="","",IF(k3+1<=M$2,K2+1,""))
in L4
=IF(ISNUMBER(K3),L$2,"")
and copy down the column
You havent said what happens AFTER K3=M3, ie what happens about the value in M4 M5 M6 etc ?
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
-ONLY M3 matters. The rest of column M and N are IRRELEVANT.
In this example, for M3=120 I would like the following to happen automatically:
-Column K is filled starting from K3=0 till K123=M3=120 (K4=1, K4=2, K5=3, etc.);
-Column L is filled starting from L3=100000 till L123=L3=100000; (L"y"=L3);
That's all. But I remind you that M3 is a variable value >0 so columns K and L will always be different.
Thank for your reply but I'm sorry to say the commands you typed don't work.
Thank you once again,
F
Last edited by FilipeF; 11-20-2018 at 11:37 AM.
Revised formulas
in K4
=IF(K3="","",IF(K3+1<=M$3,K3+1,""))
in L4
=IF(LEN(K4)>0,L$3,"")
Instead of "," there should be ";". That way it works but I still have to manually drag both the columns K and L in order to get to the value =M3.
I need it to be done automatically because what I want to do next is to plot those columns in a line graph.
The value M3 should be the only input and both the table and the graph should be "spat" out automatically.
Comma and semi-colon separators are locale dependent, comma works fine on my formulas, may be different as you're in Germany.
"Done automatically" - Then you need VBA which I'm not an expert on.
I was hoping it could be done without it. Nevertheless thank you for your help and time!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks