Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Dynamic calculations according to user input

Hello,

I built an excel application.

In worksheet #1
Each row contains a unique name like: David, Joe etc. (in column A) and
it's data like: salary etc. (in columns B,C etc.). Last column contains
unique groupName like group1, group2 etc.

In worksheet #2
Each row contains a unique group name like: group1, group2 etc. (in
column A) and calculated data like: groupAverageSalary etc. (in columns
B,C etc.)

My problem is:
In worksheet#2 I want to calaculate group's data dynamic according to
user input in worksheet#1 (For example: groupAverageSalary for group1
will be calculated as the average salary of all the people who are
members in group1).

worksheet #1
Name, salary, ..., groupName
David, 2000$, ..., group1
Joe, 1000$, ..., group2

worksheet #2
groupName, averageSalary, ...
group1, 2000$, ...
group2, 1000$, ...

Thank you
David

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Dynamic calculations according to user input

formulas inExcel can "pull" from other sheets, just use exclamation point
after sheet name

=sum(sheet1!A4:a32)

"David" wrote:

Hello,

I built an excel application.

In worksheet #1
Each row contains a unique name like: David, Joe etc. (in column A) and
it's data like: salary etc. (in columns B,C etc.). Last column contains
unique groupName like group1, group2 etc.

In worksheet #2
Each row contains a unique group name like: group1, group2 etc. (in
column A) and calculated data like: groupAverageSalary etc. (in columns
B,C etc.)

My problem is:
In worksheet#2 I want to calaculate group's data dynamic according to
user input in worksheet#1 (For example: groupAverageSalary for group1
will be calculated as the average salary of all the people who are
members in group1).

worksheet #1
Name, salary, ..., groupName
David, 2000$, ..., group1
Joe, 1000$, ..., group2

worksheet #2
groupName, averageSalary, ...
group1, 2000$, ...
group2, 1000$, ...

Thank you
David


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Dynamic report based on user input C02C04 Excel Discussion (Misc queries) 7 November 26th 08 03:45 PM
Prompt user for input and utilize that input ninner Excel Worksheet Functions 2 March 28th 07 09:44 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
Generating dynamic charts based on the user input shivan4u Charts and Charting in Excel 4 February 13th 06 12:43 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"