Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Insert Tag Line HERE.....
 
rattlsnak's Avatar
 
Join Date: Nov 2000
Location: Atlanta, Ga
Posts: 9,683
Garage
Send a message via AIM to rattlsnak
excel help

Who knows Excel? I have a workbook with two sheets. Sheet 1 has multiple rows ans two columns with their name in one and a certain value in the other column. (A1, A2, AA1, etc). On sheet two, I have the peoples names again and am trying to count the values off of sheet one and have them displayed on sheet 2. (like how many A1, A2, etc did this person receive on sheet 1).

I know how to make the formula to do this, but is there a faster way to simply "slide" the formula to all of the rows/columns? Every time I try to simply drag the formula to the next cell it is adding to the wrong value.

As an example, my formula for my cell that i want the data to go to is: =COUNTIF('Sheet 1 '!F:F,D1) but every time I drag it to the next cell down so it will auto populate, it will go to:
=COUNTIF('Form Responses '!F:F,D2) but i want to go to :
=COUNTIF('Form Responses '!H:H,D1)

and if I go to the next cell to the right, it will go:
=COUNTIF('Form Responses '!F:F,D2) and I want it to go to:
=COUNTIF('Form Responses '!F:F,E1)

So its counting up on the wrong value if that makes sense. Is there any way to make it continue on what it thinks is an inconsistent formula so I dont have to type out 1,000 of these??!!

__________________
Marc
Old 04-30-2018, 12:53 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Back in the saddle again
 
masraum's Avatar
 
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 56,102
Quote:
Originally Posted by rattlsnak View Post
Who knows Excel? I have a workbook with two sheets. Sheet 1 has multiple rows ans two columns with their name in one and a certain value in the other column. (A1, A2, AA1, etc). On sheet two, I have the peoples names again and am trying to count the values off of sheet one and have them displayed on sheet 2. (like how many A1, A2, etc did this person receive on sheet 1).

I know how to make the formula to do this, but is there a faster way to simply "slide" the formula to all of the rows/columns? Every time I try to simply drag the formula to the next cell it is adding to the wrong value.

As an example, my formula for my cell that i want the data to go to is: =COUNTIF('Sheet 1 '!F:F,D1) but every time I drag it to the next cell down so it will auto populate, it will go to:
=COUNTIF('Form Responses '!F:F,D2) but i want to go to :
=COUNTIF('Form Responses '!H:H,D1)

and if I go to the next cell to the right, it will go:
=COUNTIF('Form Responses '!F:F,D2) and I want it to go to:
=COUNTIF('Form Responses '!F:F,E1)

So its counting up on the wrong value if that makes sense. Is there any way to make it continue on what it thinks is an inconsistent formula so I dont have to type out 1,000 of these??!!
Put a $ in front of any reference that you don't want to change (anchor your reference).

IE, if you need =COUNTIF('Sheet 1 '!F:F,D1) to keep the "D1" then go with $D$1. If you only wanted one of those to stay (for instance, you always want to stay with the 1st row, but you want it to change columns, then you'd use D$1. On, if you want tho column to stay the same, but the row needs to change, then $D1.
__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten
Old 04-30-2018, 01:23 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Insert Tag Line HERE.....
 
rattlsnak's Avatar
 
Join Date: Nov 2000
Location: Atlanta, Ga
Posts: 9,683
Garage
Send a message via AIM to rattlsnak
Omg... that worked! I had to do =COUNTIF('Form Responses '!$F:$F,D1) to get it to do what i needed. Let me know if that looks funky, but it works!

Thank you!!!!
__________________
Marc

Last edited by rattlsnak; 04-30-2018 at 02:51 PM..
Old 04-30-2018, 02:49 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Back in the saddle again
 
masraum's Avatar
 
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 56,102
Quote:
Originally Posted by rattlsnak View Post
Omg... that worked! I had to do =COUNTIF('Form Responses '!$F:$F,D1) to get it to do what i needed. Let me know if that looks funky, but it works!

Thank you!!!!
No, it doesn't look funky to me. Anywhere that you need to anchor a reference, the $ is what you need, at least, in my experience.

If you just need to get a count per person in a list, then a pivot table might be the fastest way to do that, but without knowing exactly what you're working with and what you need, I can't say for sure. If you've gotten this to work and it's giving you what you need, then that's perfect. And I am far from an excel expert so I could be wrong.

__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten
Old 04-30-2018, 02:58 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Reply


 


All times are GMT -8. The time now is 09:14 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.