I don't know what formula to use.

omard.

New Member
Joined
Mar 15, 2006
Messages
16
I have made a couple of searches, but since I don't know exactly what formula to use I'm a little lost when I do my search. I have a list that I will add to as time goes on. It will have peoples names, banks names, dollar amounts, company name, etc. I have to pull the names from the main sheet and put them on other sheets. Example, on my main sheet I have


a b c d
1 name bank amount source
2 john abc 120 adl
3
4
5

this list will have other names, banks, amounts, sources, and What I need to do is take all of the same names and add up their dollar amounts and place them in another sheet. I also need to be able to populate the name from this sheet to the other sheet. example if I add matt I want it to automatically insert that name into the other sheet and add up all his amounts. Sorry if I'm doing a horrible job of explaining. Ask anything you want. Thanks
 
Aladin

Aladin: I have a question with your formula perhaps you may be able to help me

=IF(ISNUMBER(MATCH(A3,$A$2:A2,0)),"",LOOKUP(9.99999999999999E+307,$E$1:E2)+1)

IF(logical_test,value_if_true,value_if_false)

IF the value is TRUE the closing Parenthesis "" what does this represent? I know if the value if false argument you include "" it will return the value 0 as long as there is a comma after the value if true argument.

To be sure of what I am saying:

ISNUMBER(MATCH(A3,$A$2:A2,0)=Logical_Test
"" = Value_if_True
LOOKUP(9.99999999999999E+307,$E$1:E2)+1)= Value_if_false

are these represented correctly and if so my confusion lies with the "" argument

also the Value_if_False argument refers to a BIGNUM argument right?

Thanks for your patience Any advice would make my day

Thanks Aladin

Sean
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Re: Aladin

Aladin: I have a question with your formula perhaps you may be able to help me

=IF(ISNUMBER(MATCH(A3,$A$2:A2,0)),"",LOOKUP(9.99999999999999E+307,$E$1:E2)+1)

IF(logical_test,value_if_true,value_if_false)

IF the value is TRUE the closing Parenthesis "" what does this represent? I know if the value if false argument you include "" it will return the value 0 as long as there is a comma after the value if true argument.

To be sure of what I am saying:

ISNUMBER(MATCH(A3,$A$2:A2,0)=Logical_Test
"" = Value_if_True
LOOKUP(9.99999999999999E+307,$E$1:E2)+1)= Value_if_false

are these represented correctly and if so my confusion lies with the "" argument

also the Value_if_False argument refers to a BIGNUM argument right?

Thanks for your patience Any advice would make my day

Thanks Aladin

Sean

Code:
=IF(ISNUMBER(MATCH(A3,$A$2:A2,0)),
      "",
      LOOKUP(9.99999999999999E+307,$E$1:E2)+1)

Reads:

If there is a match for A3 in $A$2:A2 (TRUE evaluation of the condition), return "" (a blank), otherwise (FALSE evaluation of the condition) augment the last numeric value from $E$1:E2 with 1.

What the formula effects is to number/index sequentially every first/single occurrence of an item in A3:A7.
 
Upvote 0
Aladin, can you tell me how i can sum up the loan amounts that did not come from a specific person.

Example in your sheet Carl did 2 loans I need to add up all the other loan he did not do.

Also I need to be able to sum up the loan amounts if there is a name in another field

Example there is another field called lo. I need to be able to sum up all the loan amounts that carl did that have a name in that field, and also sum the one that do not have a name in that lo field.

Thanks
 
Upvote 0
Aladin, can you tell me how i can sum up the loan amounts that did not come from a specific person.

Example in your sheet Carl did 2 loans I need to add up all the other loan he did not do.

Do you mean...

I3, copied down:

=IF(G3<>"",SUMIF($A$3:$A$7,"<>"&G3,$C$3:$C$7),"")

Also I need to be able to sum up the loan amounts if there is a name in another field

Example there is another field called lo. I need to be able to sum up all the loan amounts that carl did that have a name in that field, and also sum the one that do not have a name in that lo field.

Thanks

Care to post a 5-row sample along with the desired outcome(s)?
 
Upvote 0
names banks source lo cu loan$
jim abc adl joe 123 50
tod 123 hdl tim abc 100
jim abc adl abc 120


the different things

1. I want to be able to count all the source that do not contain a certain name. Example in the source colum i want to add the ones that do not have adl in them. answer would be 1

2. similar to the one above but this time i want to add the ones that contain a certain name. Example in the source colum i want it to add all the ones that say adl answer is 2

3. I want to add all of jim's loan amounts that contain a name in the lo colum. Example jim has 50 of loan amounts with a name in the lo field.

4. i want to add all of jim's laon amounts that contain no name in the lo field colum. Example jim has 120 of loan amounts with no name in the lo field
 
Upvote 0
names banks source lo cu loan$
jim abc adl joe 123 50
tod 123 hdl tim abc 100
jim abc adl abc 120


the different things

1. I want to be able to count all the source that do not contain a certain name. Example in the source colum i want to add the ones that do not have adl in them. answer would be 1

2. similar to the one above but this time i want to add the ones that contain a certain name. Example in the source colum i want it to add all the ones that say adl answer is 2

3. I want to add all of jim's loan amounts that contain a name in the lo colum. Example jim has 50 of loan amounts with a name in the lo field.

4. i want to add all of jim's laon amounts that contain no name in the lo field colum. Example jim has 120 of loan amounts with no name in the lo field
Book6
ABCDEFGHIJ
1namesbankssourceloculoan$
2jimabcadljoe123501)adl1
3tod123hdltimabc1002)adl2
4jimabcadlabc1203)jim50
54)jim120
6
7
Sheet1


1)

=COUNTIF($C$2:$C$4,"?*")-COUNTIF($C$2:$C$4,I2)

2)

=COUNTIF($C$2:$C$4,I3)

3)

=SUMPRODUCT(--($A$2:$A$4=I4),--($D$2:$D$4<>""),$F$2:$F$4)

4)

=SUMPRODUCT(--($A$2:$A$4=I4),--($D$2:$D$4=""),$F$2:$F$4)
 
Upvote 0
I have 2 more questions if you don't mind.

1. When I use this formula =IF(ROWS($G$3:G3)<=$G$1,LOOKUP(ROWS($G$3:G3),$E$3:$E$7,$A$3:$A$7),"") it will skip a box on my destination page if iskip a box on my source page. How can I solve this.

2. I want to be able to add up the name that use a bank. example how many times did john use abc bank. amro, city bank, etc
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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