[TABLE="class: cms_table_outer_border, width: 500, align: left"][TR]
[TD]Concatenate[/TD]
[TD]Category[/TD]
[TD]Date[/TD]
[TD]Date[/TD]
[TD]Concatenate Date[/TD]
[TD]Acct. No.[/TD]
[TD]Actual Amt.[/TD]
[/TR]
[TR]
[TD]Operations100258042184[/TD]
[TD]Operations[/TD]
[TD]6/29/15[/TD]
[TD]6/29/15[/TD]
[TD]4218442184[/TD]
[TD]1002580[/TD]
[TD]0.18[/TD]
[/TR]
[TR]
[TD]Transfer In210040042186[/TD]
[TD]Transfer In[/TD]
[TD]7/1/15[/TD]
[TD]7/1/15[/TD]
[TD]4218642186[/TD]
[TD]2100400[/TD]
[TD]0.03[/TD]
[/TR]
[TR]
[TD]Capital310958642187[/TD]
[TD]Capital[/TD]
[TD]7/3/15[/TD]
[TD]7/3/15[/TD]
[TD]4218742187[/TD]
[TD]3109586[/TD]
[TD]0.24[/TD]
[/TR][/TABLE]
[TABLE="class: cms_table_outer_border, width: 500"]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Transfer In[/TD]
[TD]Transfer In210040042186[/TD]
[TD]0.03[/TD]
[/TR]
[TR]
[TD]2100400[/TD]
[TD]7/1/15 (42186 above)[/TD]
[TD]7/13/15[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[/TABLE]
I need to find the amount in column H (titled Actual) based on three types of criteria.
1. I found it easier to concatenate data on column A. That includes two of my criteria, which is Category, and the Acct. No. derived from columns C and G. More specifically in this case, I am looking at just "Transfer In" from the Category-C Column.
2. The third criteria is where it gets complicated. I have two drop down lists on B19 and C19 that contain date ranges. (The dropdown lists are disabled but you get the idea, the date ranges will fluctuate based on the user selection). The date ranges in each list are identical and are derived from a separate report not shown in this spreadsheet. This allows the user to choose the date range of their choice. The idea is that when I change cell A19 (it should be dropdown list with more account numbers but for now, I am just using one account number in that cell), it will change cell B18.
3. The purpose of doing is that I need to find what the actual amount of money was transferred in. I am using the account number, the category and of course the date to determine that. The problem is that when I use only one date, so, say the date in B19. I will get that exact date. If i'm a user I will only get a response in cell C22 if I happen to know the date that transaction of the transfer in occurred, or I select it at random. I don't want this, I want to know that if the user selected a date range and the transaction occurred within that range, it should display it on C22. I used the formula below and it works well but of course it's only looking at cell B18 and cell B18 only includes one date. Can anyone help with this? I was trying to upload a spreadsheet but for some reason this site makes it extremely difficult to upload anything. I couldn't even get a jpeg on here.
=IFERROR(INDEX($H$2:$H$13,SMALL(IF($B$18=$A$2:$A$13,ROW($A$2:$A$13)-MIN(ROW($A$2:$A$13))+1,""),ROW(A1))),"")
Thank you.
Samy