JackDanIce
Well-known Member
- Joined
- Feb 3, 2010
- Messages
- 9,922
- Office Version
- 365
- Platform
- Windows
Hi,
Have a table with Date, Category, Source and Rate, need value returned from Rate column, inputs are date, category type and source and each Date&Category&Source is unique (want to avoid using a helper column and VLOOKUP)
If inputs are:
Date: 30/06/2018
Source: Data1
Category: Number
I need to find the row where date is closest >= match in column (e.g. date column has 01/06/2018 or earlier, 30/06/2018 needs to match against this row number (where source = Data1 and category = Number)
I currently have
To remove rows of non-interest, however, part in red is date compare I'm having issues with (I think) in returning correct rate.
Can anyone suggest correction please?
Thank you,
Jack
Have a table with Date, Category, Source and Rate, need value returned from Rate column, inputs are date, category type and source and each Date&Category&Source is unique (want to avoid using a helper column and VLOOKUP)
If inputs are:
Date: 30/06/2018
Source: Data1
Category: Number
I need to find the row where date is closest >= match in column (e.g. date column has 01/06/2018 or earlier, 30/06/2018 needs to match against this row number (where source = Data1 and category = Number)
I currently have
Rich (BB code):
=SUMPRODUCT(--($Q$3:$Q$100=F3),--($P$3:$P$100=G3),--(D3>=$O$3:$O$100),$R$3:$R$100)
Can anyone suggest correction please?
Thank you,
Jack