done. you should be able to view them now.
Main Topics
Browse All TopicsHow do I link Column Cells from one sheet to Row cells in anther sheet dynamically?
Sheet 1 has enterys in F1,F2 and G2 then every 4 columns so J1,J2,H2 and it continues on for 25 series.. I have sheet 2 which i have Column A linking to F1 for 800 rows. Column B linking to cell F2 for 800 rows. Column C to Cell G2 for 800 rows. there after the next series for another 800 and so on. This is an employee time card that im trying to dynamically link so all i have to is fill series down if i have to add employees. Right now i have manually typed in =sheet1!$F$1 then speed filled for 800 rows then typed in =sheet1!$J$1 for all 25 series. How can i use index's and a counter to basically make a dynamic formula that will all me to speed fill 800 rows and then change to next series? please look at attachements for furthers help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Don't know if this is helpful, but it's the best I can come up with on short notice. Check out sheet 3.
You will have to change the commands (wenn = when; zählenwenn = count when; summe = sum; etc.). I only have the german version. This way: you don't have to copy long formulas - only set up your personnel list once and link it dynamically to your input.
Hope this helps.
Rick
Well, I didn't see the post the Rick made when I opened this question and made my last comment, so I don't know what he came up with...(but I will look after I post this)...but I've worked on this for a couple of hours, so I want to at least post it.
This is not an exact answer to your question, but it is a macro that I think does what you want. It just takes all the data in sheet 1, and puts it into sheet 3 but formatted the way you had it on sheet2.
The only thing you will have to make sure of (because your original file was not like this) is that the Number in row 1 is in the 3rd column of each block of 4 columns (F1, J1, N1...etc...). You can go as far over as you want, as long as they stay in that order, and the first name must be directly under it with the last name in the cell after the first name. You can have as many charges for each name as you want.
Just download it and run the macro, then look at sheet3. I don't know if you want to stay with using formulas, but if not, this macro does pretty good if I understand right what you want...There will be no more need to put formulas in anywhere...the macro puts formulas in the "total time" column to add up the 4 times, the rest of it is just data.
The only restriction I can see so far is that the format of the sheet has to be EXACTLY the same as in this file I am uploading (which is the same as what you meant yours to be anyway I think), and all the columns have to remain where they are now.
The only difference between your result sheet and this one, is that you had charges that went up to 5, even though there were only 3 for each name. This only puts in as many charge rows as there are charges in the original data sheet, so if the original data sheet has 3 rows of charges for a particular name, then it only creates 3 charges in the final output sheet...(Sheet3)
Check it out...if you don't like it...discard it...if you need something different, let me know..
:-)
Albert
Here is the code and a working file..
ahammar - you have the right idea and your code works fine for the most part. however the reason im avoiding macros is due to the fact that i dont know VBA and sending macro enabled files causes issues with the office personal. So troubleshooting such problems seem to be very difficult at times. So if there is anything up your sleeves with formulas, ill really appreiciate it. For the most part ill leave this issue open for another few days and ill provide you points for all your hard work. Please see what you can do in the mean time with using formulas only.
Thanx
I totally understand. I am a macro writing guru, but I am poor with formulas. I do not have an answer for you as far as formulas...sorry...:-(
You do not have to give me points for my work unless it's just an easy way for you to close this question...In the rare events that I ask a question, I do that sometimes because it's just easier than writing to customer service and having it deleted. Macros that do what my last one does are very challenging, and this was no exception...I enjoyed writing it so no big deal. If you don't get an answer that you want, you are not obligated to accept any answer, and all of us experts know that (or should).
I do wish you good luck on finding an answer though...I just want people to get what they really want and like, not something that just "gets them by", so I hope you get a good answer...sorry I couldn't help with the formulas...
:-)
Albert
ahammar -
I know that macros are the best way out in such complex issues, but i found out one thing that the time it takes to fill these cells is too long. i have 160.0000 rows that auto populate for my real version. I guess excel offers more rows and columns but has not done anything for speeding up opening and calculating large files. Mine is 41MB. None the less thanx for ur efforts.
huntersvcs:
I would appreciate it if you could put the solution up in english. im not a programming person so for me to read code is the same as reading german, cant tell whats what. but have it a go and lets see if your solution is more feasible.
Business Accounts
Answer for Membership
by: pari123Posted on 2008-11-24 at 13:21:38ID: 23030571
Hi,
Can you please post the attachements again?
Thanks,
Ardhendu.