Values from multiple columns- Excel 2003

vannie25

New Member
Joined
Jul 18, 2011
Messages
4
Hello all

I am trying to work out a table from another sheet preferably without using a macro unless it's a very simple one that I can manage as I only know how to record macros. I am just a beginner of IF and VLookUps and countifs so would be happy if we could use any of these.


Level Previous RAG Current RAG
1 R A
4 A G
1 R R
1 G A


I would like my new table to give me the x values. The values I am trying to obtain are the count of RAG items. e.g I had 18 Rs previously; what is the current distribution of the 18Rs.

Previous RAG Current


R A G
Count of RAG

18 R 10 6 2
16 A 3 3 10
10 G 1 8 1

I hope my message is clear and grateful if anyone could help.

Thanks
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
:help::help::help:

I noticed no one is responding to my query, probably because the tables above did not come out right as I intended or it is not clear :oops. I have done my best with the HTML code I was advised to use. Grateful if someone could assist me with the right formula to use to generate the result on my result table from the data provided on the live data table. Happy to clarify if you need more input from me.

Thanking you in advance for your support.




Live Data Table
HTML:
	A	       B	                C	

Cell1	Level	       Previous RAG	Current RAG
	
2	1	       R	                A	
3	4	       A	                G	
4	1	       R	                R	
5	1	       G	                A	


Total count	       44	               44
         R             18	               14
         A             16	               17
         G             10	               13

Result Table should be

HTML:
Previous RAG		Current RAG Counts
Counts		
		                  R	A	G

R	18	                 10	6	2
A	16	                 3	3	10
G	10	                 1	8	1
 
Upvote 0
Is anyone please help me this query or able to refer me to a specialist that may be able to assist. Happy to pay for a solution.
 
Upvote 0
Have you tried simply creating a Pivottable:
Excel Workbook
BCDEFGHI
1Prev RAGCurr RAGCount of Prev RAGCurr RAG
2RGPrev RAGRAGGrand Total
3AAR104317
4RRA410317
5GRG42410
6RRGrand Total18161044
7AA
8RR
9RA
10RR
11AG
12RR
13AA
14GR
15RR
16RG
17AG
18AR
19AG
20AA
21AA
22RR
23GG
24AA
25RA
26RA
27GG
28AA
29AA
30RR
31GG
32GG
33GR
34RA
35AA
36RG
37GR
38GA
39RR
40AA
41AR
42RR
43GA
44AR
45AR
Sheet



?
 
Upvote 0
My pleasure. I'm glad to have pointed you in the right direction :-)
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top