nparsons75
Well-known Member
- Joined
- Sep 23, 2013
- Messages
- 1,256
- Office Version
- 2016
Hi,
I have 2 worksheets, WS1 and WS2.
In WS1 I have a table and in Column A is a reference number (unique). Currently 1 to 15.
In WS2 I also have a table with multiple rows. In each row is a reference to a unique ref number in WS1.
For example, Ref 1 may have multiple rows in WS2 that refer to the unique ref number 1. (Column B, WS2)
In Column G of WS2 there is a value between 0 and 100.
In Column F of WS1 there is also a value between 0 and 100.
This is what I need to happen.
I need WS1 (column A) to look at WS2 (Column B) and find all the rows that refer to the same unique ref number. As an example there may be 3 rows that contain ref number 1.
Then, I need the total of all the values in Column B of WS2 to be added together and divided by the number of rows that the unique ref is found in, (in this case 3). The result will then be displayed in Column F of worksheet 1.
Hope that makes some sense....Thank you.
I have 2 worksheets, WS1 and WS2.
In WS1 I have a table and in Column A is a reference number (unique). Currently 1 to 15.
In WS2 I also have a table with multiple rows. In each row is a reference to a unique ref number in WS1.
For example, Ref 1 may have multiple rows in WS2 that refer to the unique ref number 1. (Column B, WS2)
In Column G of WS2 there is a value between 0 and 100.
In Column F of WS1 there is also a value between 0 and 100.
This is what I need to happen.
I need WS1 (column A) to look at WS2 (Column B) and find all the rows that refer to the same unique ref number. As an example there may be 3 rows that contain ref number 1.
Then, I need the total of all the values in Column B of WS2 to be added together and divided by the number of rows that the unique ref is found in, (in this case 3). The result will then be displayed in Column F of worksheet 1.
Hope that makes some sense....Thank you.