  asked on

# subtract in each digit 3N F

3n to calculate -4 to -1

3N_CALCULATOR.xlsx

1- add an button from  P1 to  S1 call it   -4 to -1

2- N6 to N12  i will put the pairs needed to work

3- then from N6 to P12  need see   the new valu by the column

4- column P6  to P12 is - 4 for each digit in the PAIR  pair in the N6 to N12

5- then column Q6 to Q12  is - 3 for each digit in the PAIR

example  : the base is always 10

N6  = 43   then =  4(-4)  = 0    ,  3(-4)  =9   so  P6 is  09

same  with the others..

Microsoft ExcelVBAMicrosoft Office Last Comment

8/22/2022 - Mon
Martin Liss

"N6  = 43   then =  4(-4)  = 0    ,  3(-4)  =9   so  P6 is  09"

But you show 90 in your example.

N6  = 43   then =  4(-4)  = 0    ,  3(-4)  =9   so  P6 is  90?

Yes!   that's right

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Martin Liss

I'm sorry if I've confused things but are the numbers in column P supposed to be in ORD order? If so then P6 should be 09.

I'm sorry if I've confused things but are the numbers in column P supposed to be in ORD order? If so then P6 should be 09
if it would help me to have them in ORD

I did not put them in ORD because I focus on the subtraction

but after the subtraction putting them in ORD would be fine

Martin Liss

Try this.
29225298.xlsm
Get an unlimited membership to EE for less than \$4 a week.
Unlimited question asking, solutions, articles and more.

Best Expert

in column N

from N6 to N12 I am going to put some numbers in pairs (I need to change them, they will not always be the same in N6 to N12)

as example 43, 98, 20, 75, 03, 23, 20

in column P is to subtract 4 from each Digit of the pair from N6 to N12

that is, 4 is going to subtract 4 and 3 is going to subtract 4

column P is to always subtract 4

to any pair that puts in N6 to N12

that's why I need to put a button for each time I put new couples

The other columns will subtract -3 -2 -1 from each digit of the pair that is being worked on

but what I want is to subtract each digit of the couple
I will always put a couple it will be different in this example use
those couples
Martin Liss

Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.