Avatar of ADRIANA P
ADRIANA PFlag for United States of America asked on

subtract in each digit 3N F

3n to calculate -4 to -1


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

Avatar of undefined
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.
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

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
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.
See how we're fighting big data
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.
ask a question

Now it is great !!
as I need

Great Job Best Expert !!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck