Canreef Aquatics Bulletin Board  

Go Back   Canreef Aquatics Bulletin Board > Other > Lounge

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2016, 06:23 PM
Myka's Avatar
Myka Myka is offline
Moderator
 
Join Date: Mar 2004
Location: Saskatoon, SK.
Posts: 11,268
Myka will become famous soon enough
Default Anyone know spreadsheet formulas?

I'm trying to figure out how to get a spread sheet to do this...

------------A-----B--------C---------D----------E------
----------Start | End | Column T | Column B | Column P--

1---------1000--1500----500---------X-------(blank)---
2---------1000--1250----250-------(blank)------X------
3---------1000--1500----500-------(blank)------X------
4
5--Total-----------------------------500-------750-----


So I want Column T to be Column B minus Column A. Then I want the Total at the bottom to add up all the Column T that have an X under the Good column, and then add up all the Column T that have an X under the Bad column. I hope this makes sense. I know how to get the formula for Column B minus Column A equals Column T. It's the second part that has me stumped.

Please help!
__________________
~ Mindy

SPS fanatic.


Last edited by Myka; 04-17-2016 at 07:41 PM.
Reply With Quote
  #2  
Old 04-17-2016, 06:28 PM
WarDog's Avatar
WarDog WarDog is offline
Darth Moderator
 
Join Date: Mar 2013
Location: Maple Ridge, BC
Posts: 3,107
WarDog will become famous soon enough
Default

You need to talk to Greggzz4. He invented Microsoft Excel.
Reply With Quote
  #3  
Old 04-17-2016, 07:04 PM
Myka's Avatar
Myka Myka is offline
Moderator
 
Join Date: Mar 2004
Location: Saskatoon, SK.
Posts: 11,268
Myka will become famous soon enough
Default

Quote:
Originally Posted by WarDog View Post
You need to talk to Greggzz4. He invented Microsoft Excel.
Wow!

Hopefully he will stop in to me then, please Greg!
__________________
~ Mindy

SPS fanatic.

Reply With Quote
  #4  
Old 04-17-2016, 07:19 PM
mrhasan's Avatar
mrhasan mrhasan is offline
Member
 
Join Date: Jun 2012
Location: Calgary
Posts: 2,893
mrhasan is on a distinguished road
Default

-------------A------------B--------------C-------------D------------E
1----------1000----------1500----------500-----------X---------- NULL

2----------1000----------1250----------250----------NULL----------X

3----------1000----------1500----------500----------NULL----------X

4-------------------------------------------------------500----------750


Formula for column D4 =SUMIF(D1: D3,"X",C1:C3) [select the space, it was become so I had to put in the space)
Formula for column E4 =SUMIF(E1:E3,"X",C1:C3)

Whatever you put in the braces must match exactly with the string you are using (X in here) or else it won't work. HTH
__________________

You wouldn't want to see my tank. I don't use fancy equipment and I am a noob

Last edited by mrhasan; 04-17-2016 at 07:23 PM.
Reply With Quote
  #5  
Old 04-17-2016, 07:34 PM
Myka's Avatar
Myka Myka is offline
Moderator
 
Join Date: Mar 2004
Location: Saskatoon, SK.
Posts: 11,268
Myka will become famous soon enough
Default

[edit:nevermind]
__________________
~ Mindy

SPS fanatic.


Last edited by Myka; 04-17-2016 at 07:42 PM.
Reply With Quote
  #6  
Old 04-17-2016, 07:41 PM
Myka's Avatar
Myka Myka is offline
Moderator
 
Join Date: Mar 2004
Location: Saskatoon, SK.
Posts: 11,268
Myka will become famous soon enough
Default

Quote:
Originally Posted by mrhasan View Post
-------------A------------B--------------C-------------D------------E
1----------1000----------1500----------500-----------X---------- NULL

2----------1000----------1250----------250----------NULL----------X

3----------1000----------1500----------500----------NULL----------X

4-------------------------------------------------------500----------750


Formula for column D4 =SUMIF(D1: D3,"X",C1:C3) [select the space, it was become so I had to put in the space)
Formula for column E4 =SUMIF(E1:E3,"X",C1:C3)

Whatever you put in the braces must match exactly with the string you are using (X in here) or else it won't work. HTH
THANK YOU!!! I was so close! I was screwing doing it like this:

Formula for column E4 =SUMIF(C1:C3,"X",E1:E3)
__________________
~ Mindy

SPS fanatic.

Reply With Quote
  #7  
Old 04-17-2016, 07:50 PM
mrhasan's Avatar
mrhasan mrhasan is offline
Member
 
Join Date: Jun 2012
Location: Calgary
Posts: 2,893
mrhasan is on a distinguished road
Default

Quote:
Originally Posted by Myka View Post
THANK YOU!!! I was so close! I was screwing doing it like this:

Formula for column E4 =SUMIF(C1:C3,"X",E1:E3)
Glad I could be of help

The same thing can be achieved by various other functions. Lookup is another one they gives you more flexibility but can get a bit complicated so if you like, you can try lookup too. Youtube has great tutorials.
__________________

You wouldn't want to see my tank. I don't use fancy equipment and I am a noob
Reply With Quote
  #8  
Old 04-18-2016, 12:51 AM
Myka's Avatar
Myka Myka is offline
Moderator
 
Join Date: Mar 2004
Location: Saskatoon, SK.
Posts: 11,268
Myka will become famous soon enough
Default

Quote:
Originally Posted by mrhasan View Post
Glad I could be of help

The same thing can be achieved by various other functions. Lookup is another one they gives you more flexibility but can get a bit complicated so if you like, you can try lookup too. Youtube has great tutorials.
I don't have the patience for YouTube tutorials, but I was Googling formulas. I couldn't make sense of it properly, and figured I'd ask here and see if I got an answer before I managed to figure it out. You won.
__________________
~ Mindy

SPS fanatic.

Reply With Quote
  #9  
Old 04-18-2016, 12:54 AM
mrhasan's Avatar
mrhasan mrhasan is offline
Member
 
Join Date: Jun 2012
Location: Calgary
Posts: 2,893
mrhasan is on a distinguished road
Default

Quote:
Originally Posted by Myka View Post
I don't have the patience for YouTube tutorials, but I was Googling formulas. I couldn't make sense of it properly, and figured I'd ask here and see if I got an answer before I managed to figure it out. You won.
Yay. I love winning Thanks for giving the chance
__________________

You wouldn't want to see my tank. I don't use fancy equipment and I am a noob
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.