Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Reply
Old 09-29-2009, 04:49 PM   #1 (permalink)
bmxfreakrider's Avatar
 
G33K P0W3R!!!!

Join Date: Mar 2006

Location: HickTown, California (hesperia), and West Hollywood

Posts: 2,059

bmxfreakrider is on a distinguished road

Default I need an excel pro ASAP

I am a data management tech for a small internet advertising company, and need some major assistance. basically this is how the system works.

a user posts an ad, I have to go to twitter and find their post. that is simple. I take their post and put it in the database. That is simple too. I add all their posts up, and multiply it by how much they earn per post (post rev.). simple too. Now for caluclating their balances it gets tricky. There are over 300 users, and lets say user 12 referred users 72, 80, and 96. User 12 would earn 5% of whatever users 72, 80, and 96 makes.

Currently I have to go thru the database and find users 72, 80, and 96, take their current values, add them all up, then multiply by .05. it works, but takes roughly 30s to a minute for one user, and up to 5 mintues for our power users (over 20 referrals). I know there is a function called "=vlookup" but I need some help setting it up. here is an example of our database. (names hidden for security purpouses)



so let me explain whats going on in this picture.

User 68 signed up users 231, 232, and 140. 231 didnt make anything this week, 232 made 6.50, and 140 made 4.50. I have to manually find their values (in this case 6.50 and 4.50, add them up, and multiply by 0.05, then take that value and put it in to the affilate earnings column in user 68's row. Very time consuming) Since I have the affiliates in column F, is there a forumla (such as vlookup) that can find 232 in column A, grab the value from column B, same for 140, add the numbers together and just give me a raw output (no multiplication, I can do that in another step) of $11.00 or even just 11.



heres the formulas


__________________
Listen to my music! and random/funny videos XD
Need a HDTV? Come find me at BestBuy #393 in West Hollywood XD
-----v Just pwnt my cpu, 900mhz OC v-----

One last thing: Make free money with twitter, and be entered to win $10! Only with twtmob (my 2nd job lol. Really, like $150 a week!)
bmxfreakrider is online now   Reply With Quote
Old 09-29-2009, 07:31 PM   #2 (permalink)
Crysalis's Avatar
 
Sound Engineer

Join Date: Dec 2004

Location: Cleveland, OH

Posts: 1,559

Crysalis will become famous soon enough

Send a message via AIM to Crysalis
Default

The vlookup will work, but the F column SHOULD only have one value.

It would be

=vlookup(F2,$A$2:$F$30,2,0)

Let me know if you need help. I do this all day everyday (microsoft office "expert" for software consulting co)

The vlookup will work if the column F has one value. Without an array formula or VBA, we can't do it that way. Check out this file that I worked on. Instead of putting all affiliates in one column, listing them at the end will work better and using a SUMIF function.

That formula needs to be modified dependent upon the max number of affiliates a person will have.

http://files.me.com/crysalis/8021gb

__________________


Last edited by Crysalis; 09-29-2009 at 08:26 PM.
Crysalis is offline   Reply With Quote
Old 09-29-2009, 08:10 PM   #3 (permalink)
bmxfreakrider's Avatar
 
G33K P0W3R!!!!

Join Date: Mar 2006

Location: HickTown, California (hesperia), and West Hollywood

Posts: 2,059

bmxfreakrider is on a distinguished road

Default Re: I need an excel pro ASAP

Just saw the post. Ill def check it out after I finish with these emails. Dealing with e-cash is very sensitive stuff, I can NOT mess up or i loose my job esentially. Thats why I perfer excel to do all the work because its very powerfull and acurrate at math (unlike my soft-bodied counterpart upstairs, eg: brain)
__________________
Listen to my music! and random/funny videos XD
Need a HDTV? Come find me at BestBuy #393 in West Hollywood XD
-----v Just pwnt my cpu, 900mhz OC v-----

One last thing: Make free money with twitter, and be entered to win $10! Only with twtmob (my 2nd job lol. Really, like $150 a week!)

Last edited by bmxfreakrider; 09-29-2009 at 08:13 PM.
bmxfreakrider is online now   Reply With Quote
Old 09-29-2009, 08:22 PM   #4 (permalink)
Crysalis's Avatar
 
Sound Engineer

Join Date: Dec 2004

Location: Cleveland, OH

Posts: 1,559

Crysalis will become famous soon enough

Send a message via AIM to Crysalis
Default Re: I need an excel pro ASAP

you can either do it that way, or i can try to work up some VBA for you.

EDIT: Looks like a Mod edited my posts. Those were meant to be separate...
__________________


Last edited by Crysalis; 09-29-2009 at 08:25 PM.
Crysalis is offline   Reply With Quote
Old 09-29-2009, 08:52 PM   #5 (permalink)
bmxfreakrider's Avatar
 
G33K P0W3R!!!!

Join Date: Mar 2006

Location: HickTown, California (hesperia), and West Hollywood

Posts: 2,059

bmxfreakrider is on a distinguished road

Default Re: I need an excel pro ASAP

also one more question. I have a balance draft template that I use for the emails but im a little confused about the way excel handles formulas. I have a forumla calling to cell d2:h2 where I have a whole bunch of info from the DB that i have to go thru one by one. Its really hard to explain...

I have a formula, say

"=G2"

and I cany type data and change the data in G2 as I please. If I paste data into the cell, it works, but if i drag data into the cell i get a #REF! error. Is there any way to lock the formula to a cell regardless of what happens to the cell? I might load up in mac and use screencap to show what im talking about.

also, dont know if it helps any, but I did take a year course on office 07 so im not a total noob, just didnt use a pc for a couple months and got reallllllllly rusty.
__________________
Listen to my music! and random/funny videos XD
Need a HDTV? Come find me at BestBuy #393 in West Hollywood XD
-----v Just pwnt my cpu, 900mhz OC v-----

One last thing: Make free money with twitter, and be entered to win $10! Only with twtmob (my 2nd job lol. Really, like $150 a week!)
bmxfreakrider is online now   Reply With Quote
Old 09-30-2009, 12:28 AM   #6 (permalink)
Hefemeister's Avatar
 

Join Date: Feb 2004

Location: Sweden

Posts: 6,820

Hefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really nice

Default Re: I need an excel pro ASAP

adding a $ sign in front of the cell will lock them if you always want it g2 no matter where you copy and paste it then $g$2 is what you want. If you want one of the two to float then do not place the $ sign in front of it.

Crysalis is correct that vlookup is the way to go.
__________________
ASUS P6T Deluxe V2 :: INTEL i7 920 @3.4 :: XFX GTX260 :: 6gb Corsair 1600 :: Corsair 750TX :: TRUE 120 :: Samsung T240 24" :: Windows 7 X64

I do not accept support questions via PM

"The man in black fled across the desert, and the gunslinger followed."
Hefemeister is offline   Reply With Quote
Old 09-30-2009, 03:56 AM   #7 (permalink)
bmxfreakrider's Avatar
 
G33K P0W3R!!!!

Join Date: Mar 2006

Location: HickTown, California (hesperia), and West Hollywood

Posts: 2,059

bmxfreakrider is on a distinguished road

Default Re: I need an excel pro ASAP

i know about absolute cell references, but my problem is when I drag and drop a value in to a cell that is referred to i get the ref error.
__________________
Listen to my music! and random/funny videos XD
Need a HDTV? Come find me at BestBuy #393 in West Hollywood XD
-----v Just pwnt my cpu, 900mhz OC v-----

One last thing: Make free money with twitter, and be entered to win $10! Only with twtmob (my 2nd job lol. Really, like $150 a week!)
bmxfreakrider is online now   Reply With Quote
Old 09-30-2009, 04:11 AM   #8 (permalink)
Hefemeister's Avatar
 

Join Date: Feb 2004

Location: Sweden

Posts: 6,820

Hefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really nice

Default Re: I need an excel pro ASAP

Have you tried copy and paste special with either value or formula depending upon your needs?
__________________
ASUS P6T Deluxe V2 :: INTEL i7 920 @3.4 :: XFX GTX260 :: 6gb Corsair 1600 :: Corsair 750TX :: TRUE 120 :: Samsung T240 24" :: Windows 7 X64

I do not accept support questions via PM

"The man in black fled across the desert, and the gunslinger followed."
Hefemeister is offline   Reply With Quote
Old 09-30-2009, 04:18 AM   #9 (permalink)
bmxfreakrider's Avatar
 
G33K P0W3R!!!!

Join Date: Mar 2006

Location: HickTown, California (hesperia), and West Hollywood

Posts: 2,059

bmxfreakrider is on a distinguished road

Default Re: I need an excel pro ASAP

copy and paste works fine, id like to move the entire column and replace the origional cells contents. when I do that, it gives me the error. Im doing copy and paste right now, but its fairly time consuming
__________________
Listen to my music! and random/funny videos XD
Need a HDTV? Come find me at BestBuy #393 in West Hollywood XD
-----v Just pwnt my cpu, 900mhz OC v-----

One last thing: Make free money with twitter, and be entered to win $10! Only with twtmob (my 2nd job lol. Really, like $150 a week!)
bmxfreakrider is online now   Reply With Quote
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Excel Sheets Osiris Tips, Tricks & Tutorials 0 09-15-2009 10:45 AM
need excel macro help asap! bigdan Windows Operating Systems and Software 4 06-22-2009 06:24 PM
How To Open Microsoft Excel Spreadsheets Without Excel Osiris Tips, Tricks & Tutorials 0 06-21-2009 12:52 PM
Tech-Forums Community Driven Spyware/Virus Removal Program Osiris Virus - Spyware Protection / Detection 26 06-10-2008 12:55 PM
Excel 2007 bug superdave1984 Windows Operating Systems and Software 0 09-26-2007 11:48 AM