Iferror,index,small formula help with dropdown list date ranges

samyscraps01

Board Regular
Joined
Jul 6, 2017
Messages
58
Hi all, i'm new to excel and I'm having significant problems fixing my issue. 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 (highlighted yellow) 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, the date on cell B19. 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
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

Attachments

Or upload the file to an online storage site and post a link to it, though some people may not download the file for fear of viruses.
 
Upvote 0
[TABLE="class: outer_border, width: 500, align: left"]
<tbody>[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]
</tbody>[/TABLE]








[TABLE="class: outer_border, width: 500"]
<tbody>[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]
</tbody>[/TABLE]

I hope this makes sense, my cells are off because I could not upload a spreadsheet or a screenshot.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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