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?
 
Its a subtraction problem

That's why the number on the bottom is negative. The results are all non-negative.
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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