second grader homework

second grade parent

New Member
Joined
Sep 10, 2018
Messages
6
Hi I am trying to work on a puzzle for my second grader to learn math. I am trying to dupelicate it in excel with rand number generator. Its a subtraction problem and sometimes the second number or third # is bigger than the first. Is there a way to program excel to hit F9 if the result is negative.
its kind of like sudoku:
A1 blank
A2 =(B1+C1)-A3A3 =RANDBETWEEN(6,12) this is supposed to be a1-a2 this is supposed to be a positive number
B1 = RANDBETWEEN(6,10)
B2 blank
b3 =B1-(A2-C2) this is supposed to be B1-B2 and this is supposed to be a positive number
C1 = this is supposed to be a1-b1 this is supposed to be a positive number
c2 this is supposed to be a2- b2 this is supposed to be a positive number.

how should i program this to only result in positive number?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hello second grade parent,

To return any number as positive use the ABS Absolute Value function.

Example:
C1 = ABS(A1-B1)
 
Upvote 0
Another way:

A​
B​
C​
D​
E​
F​
G​
H​
I​
2​
1​
6​
13​
10​
19​
2​
12​
16​
A2: =RANDBETWEEN(1, 20)
3​
-1​
-3​
-9​
-8​
-15​
-2​
-11​
-8​
A3: =-RANDBETWEEN(1, A2)
 
Upvote 0
Another way:

A​
B​
C​
D​
E​
F​
G​
H​
I​
2​
1​
6​
13​
10​
19​
2​
12​
16​
A2: =RANDBETWEEN(1, 20)
3​
-1​
-3​
-9​
-8​
-15​
-2​
-11​
-8​
A3: =-RANDBETWEEN(1, A2)

<tbody>
</tbody>


I like what you did there incorporating A2. i was trying to avoid negatives so I will delete that part.


<colgroup><col span="3"></colgroup><tbody>
</tbody>
 
Upvote 0
=+RANDBETWEEN(12,20)=+RANDBETWEEN(1,A1)=+A1-B1
=+RANDBETWEEN(1,A1)=ROUNDDOWN(RAND()*B1,0)=+A2-B2
=+A1-A2=+B1-B2
Find the difference that solves for the blank

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
I did these in Addition, subtraction and Multiplication for my grandsons. I'll try to locate it tonight when I get home and post them up
Bill
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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