Count Down

Brown

Board Regular
Joined
Sep 14, 2009
Messages
200
Office Version
  1. 365
Hello,
It has been a while since I have asked any questions, but I am sure you folks will steer me in the right direction.
Thanks in advance

I am trying to create a gradebook, of sorts, in which each time I enter a number it will subtract from 100
Sorry I couldn't get the image to work

http://i287.photobucket.com/albums/ll127/nu2trout/excel image_zpsqia7tvc9.png


for example, in cell a2 I will place the value 100
when I enter a mark in cell b2 (like an X) I need it to lower the value from 100 by 1 (so now a2 shows 99)

I hope that makes sense, and I look forward to reading your thoughts and suggestions
Brown
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Let's say that you wanted to subtract the total number of "X"s that appear in column B, then you would put this formula in A2:
Code:
=100-COUNTIF(B:B,"X")
Note that if you want to "hard-code" 100 in cell A2, and have that value automatically updated when values elsewhere are updated, that will require VBA.
If you would like to pursue that option, please let us know that total range affecting it.
Is it just B2, or all of column B or row 2 (other than column A)?
 
Upvote 0
Thank for the quick response, i will try it now

It is all of row 2, so the "grade" will stay in A2 (100-x's), and the row will have the X's placed in the boxes denoting the subtraction of one point per X, so one row is for one student. I will have multiple rows
 
Last edited:
Upvote 0
If it is all or row 2, then it would be something like this:
Code:
=100-COUNTIF(B2:CW2,"X")
Just update the range to reflect the range you are checking for X's.
 
Last edited:
Upvote 0
GOT IT THANKS!!!!!!!
I used what you sent and placed the range for the row.
Have a great day
Brown
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,985
Members
452,540
Latest member
haasro02

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