Fill Series Number (Positive & Negative) Based on A Number

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,089
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
dear all...

i have layout table like this below, how to make series number (positive & negative number) simultance based on input a number
this table:
hitung R2 kejari.xlsb
VWXYZ
9Expected result
10Inputdata (given)Series PostitiveSeries Negative
111%AppleVery good0%0%
12Good1%-1%
13Enough2%-2%
14Bad3%-3%
153%BananaVery good0%0%
16Good3%-3%
17Enough6%-6%
1810%MangoesVery good0%0%
19Good10%-10%
20Enough20%-20%
21Bad30%-30%
22etc..
1 vixion

my targe (expected result) in cell Y11 & Z11 down
Note : Without Macro/vba
any help, greatly appreciated..

.sst
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
How about
+Fluff New.xlsm
VWXYZ
10Inputdata (given)Series PostitiveSeries Negative
111%AppleVery good0%0%
12Good1%-1%
13Enough2%-2%
14Bad3%-3%
153%BananaVery good0%0%
16Good3%-3%
17Enough6%-6%
1810%MangoesVery good0%0%
19Good10%-10%
20Enough20%-20%
21Bad30%-30%
Data
Cell Formulas
RangeFormula
Y11:Y21Y11=IF(V11<>"",0,Y10+LOOKUP(2,1/(V$11:V11<>""),V$11:V11))
Z11:Z21Z11=Y11*-1
 
Upvote 0
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,922
Messages
6,175,384
Members
452,639
Latest member
RMH2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top