Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Anyone good with excel. (linking cells)

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

TheSmiler
World Chat Champion



Joined: 14 Apr 2011
Karma :

PostPosted: 11:13 - 17 Jan 2016    Post subject: Anyone good with excel. (linking cells) Reply with quote

I'm sorting out an expenditure sheet in excel, I've used the developer tools for check boxes. Now what I'm trying to do is to work out how much I've got to spend depending if an item has been ticked.

An example of what I'm trying to do below. So the total left column at the moment is only a sum function which is selected. But I don't really want to do this every time I click an item off.

https://i.imgur.com/wDAwWgs.jpg

Can anyone help Question
____________________
CB125>CG125>GN125>ER5>K100RS>R1100RS>K100RS
A2 completed 23/07/15 Ready for the Golden Crisp Packet
 Back to top
View user's profile Send private message You must be logged in to rate posts

James83
Crazy Courier



Joined: 10 Apr 2013
Karma :

PostPosted: 12:04 - 17 Jan 2016    Post subject: Reply with quote

This is technically possible, but if the list is going to be remotely long, it'll be a pain to add the check boxes. You may well be better off with a simple 'Y' or 'N' written into the cell instead.

If you are committed to using the checkboxes, you first need to get the state out of it. Select a checkbox by ctrl-clicking it, then in the formula bar, put an = sign and then click the cell you want the value to go into. That cell will then show either TRUE or FALSE depending on if the box is ticked or not. What you could do is assign the checkbox values to the cell they are sitting over the top of in column D. If you set the font to white, you won't see them.

You then need to do a sumif to get the total, something like:
=sumif(D:D,TRUE,C:C)
____________________
Jonathan A wrote: tart.
 Back to top
View user's profile Send private message You must be logged in to rate posts

J.M.
World Chat Champion



Joined: 27 Mar 2011
Karma :

PostPosted: 13:30 - 17 Jan 2016    Post subject: Reply with quote

I assume you only want 1 answer for total cost and total left. Or do you want a breakdown of what total left and total cost was after each purchase?

One Total
Uses Y/N instead of checkbox. 500 is arbitrary starting budget.

Total Cost: =SUMIF(DVery Happy,"=Y",C:C)
Total Left: =500-G2

Total After Each
Again uses Y/N. 500 is arbitrary starting budget. 120 is arbitrary total cost before starting spread sheet.

Initial total left: 500-SUMIF(D2,"=Y",C2)
Initial total cost: =120+SUMIF(D2,"=Y",C2)

Next total left: =F2-SUMIF(D3,"=Y",C3)
Next total cost: =G2+SUMIF(D3,"=Y",C3)

Then;
Every time you want to add a new item, or a bunch of them, select column F&G for the final row. There will be a blue square in the bottom-right of the bottom-right most selected sell. Drag it down to the next row.

Attachment may/may not work as I don't have office installed to test it.
____________________
2004 R1 & 2018 XSR900
 Back to top
View user's profile Send private message You must be logged in to rate posts

TheSmiler
World Chat Champion



Joined: 14 Apr 2011
Karma :

PostPosted: 14:28 - 17 Jan 2016    Post subject: Reply with quote

Changed it to the yes no statement and added an extra tab which is now coloured differently and locked. Worked out in the end. Now if I change a sum or change one to an Y then it all sorts itself out thank you.
____________________
CB125>CG125>GN125>ER5>K100RS>R1100RS>K100RS
A2 completed 23/07/15 Ready for the Golden Crisp Packet
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 10 years, 238 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.08 Sec - Server Load: 0.51 - MySQL Queries: 13 - Page Size: 41.35 Kb