Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adding two instance in the same column

Posted on 2008-10-09
8
Medium Priority
?
145 Views
Last Modified: 2012-05-05
In excel we have two instances of names in a column. I need each name to give me a SUM calculation and an alert.
I will give you an example:
Name    Qty   Cell

Test 1    5      A3
Test1     5      A4
Test2     4      A5
Test2     3      A6
 I would like the SUM of A3:A4 and  A5:A6. When either name, Test 1 or Test 2, reaches 10 first i will get a alert at cell H3.
Can you help me with this. If you need further information let me know.
0
Comment
Question by:alex51468
  • 4
  • 3
8 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 22677888
For example, anything like this?

Chris
twocols.xls
0
 
LVL 17

Expert Comment

by:ExcelGuide
ID: 22677891
see attached file and try testing by changing the values so it will go over 10. Test1 will give RED and test2 will give PURPLE....are you looking for something like this?
sample.xls
0
 
LVL 17

Expert Comment

by:ExcelGuide
ID: 22677907
sorry chris, I really refreshed before posting and even it took like 3 sec for me to post I see you where like 1 sec before me.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:alex51468
ID: 22678050
Hello Psychotec. This is what i need. Can you give me the formula for this? Thanks.
0
 
LVL 17

Expert Comment

by:ExcelGuide
ID: 22678070
select cell H3 and then goto: "Format->Conditional Formatting". You will see the example/formula.

Good luck
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 2000 total points
ID: 22684628
Psychotec

The timing was even tighter than that ... I also refreshed immediately before posting.  Ho hum at least we gave Alex a selection of approaches!

Chris
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 22685753
I thought you were going with Psychotec's solution so I am glad to have helped a litle as well.

Chris
0
 
LVL 17

Expert Comment

by:ExcelGuide
ID: 22685880
I thought that as well, but still it is ok
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question