Dynamic Addition with logic statement

dgranruth

New Member
Joined
Feb 3, 2013
Messages
1
Background: I'm trying to help some of my associates keep track of a particular account. There are four primary types of customer interactions they can perform (Activations, Upgrades, Accessory, Maintenance). What I would like to be able to do is have the Consultant choose their name, enter in information for the transaction (Date, Trans #, Notes) and select the type of interaction (listed above) and have the totals dynamically list near the top of the spread sheet.

0


Column A starting at Cell 15 down is a dropdown list pulling the names of the current consultants, list located (J6 to J11).
Column D starting at Cell 15 down is a dropdown list pulling the type of transactions from list located (K6 to K9).

Basically, at Cell B7 it needs to be able to do something like (if A15 down is Terrence AND D15 down is Activation, then add totals to B7)
So if it counts there are 22 total transactions in which the consultant was Terrence AND the transaction was an Activation then B7 would display the total 22.

Basically the same goes for the other consultants AND variable types logically. The only oddball would be Accessories, in which case it wouldn't display the number of lines in which the Consultant AND Accessory agreed, but in that case take that line's TOTAL amount and put it in Dollar Values for that Cell.

If I'm not asking the question properly please let me know.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi and welcome to MrExcel.

It would be helpful if you can post some sample data using the link in my signature.

My sample data.....

Excel Workbook
ABCDEF
1DateTrans #ConsultantTypeAmount
201/01/2013AA10000Bart SimpsonActivations300.00
302/01/2013AA10001Lisa SimpsonUpgrades200.00
403/01/2013AA10002Homer SimpsonAccessory400.00
504/01/2013AA10003Bart SimpsonMaintenance163.00
605/01/2013AA10004Bart SimpsonActivations300.00
701/01/2013AA10005Homer SimpsonActivations300.00
807/01/2013AA10006Bart SimpsonUpgrades400.00
908/01/2013AA10007Bart SimpsonAccessory300.00
1009/01/2013AA10008Homer SimpsonAccessory300.00
1110/01/2013AA10009Lisa SimpsonUpgrades300.00
1201/01/2013AA10010Homer SimpsonUpgrades100.00
1312/01/2013AA10011Bart SimpsonMaintenance100.00
1401/01/2013AA10012Bart SimpsonAccessory100.00
1504/01/2013AA10013Homer SimpsonUpgrades200.00
1605/01/2013AA10014Bart SimpsonAccessory450.00
1706/01/2013AA10015Bart SimpsonAccessory400.00
1802/01/2013AA10016Bart SimpsonActivations300.00
1909/01/2013AA10017Homer SimpsonActivations450.00
2001/01/2013AA10018Bart SimpsonUpgrades400.00
21
Sheet5


My example results.....

Excel Workbook
ABCDE
5
6Result
73
8
9
10
11
12
13
14ConsultantTransaction
15Bart SimpsonActivations
16
Sheet4


Or.....

Excel Workbook
ABCDE
5
6Result
71250
8
9
10
11
12
13
14ConsultantTransaction
15Bart SimpsonAccessory
16
Sheet4


I don't know how to convert the result in B7 to a dollar amount without it being displayed as TEXT and not a true number.

I hope this helps you to understand what you need to post so that you get the solution you require.

Ak
 
Upvote 0

Forum statistics

Threads
1,215,349
Messages
6,124,427
Members
449,158
Latest member
burk0007

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