Alternative to VLookUp that can check if two factors are true - arrays

I am wondering is there any alternative to VLookUP() that can check two factors before returning a value. I want to search for an identifier that is only unique for a given date.
I.E the Key exists multiple times in the dataset but only once for each date so the date and the key combined form a primary key.
Note: I want to do this without adding a column to the dataset.
This is a simplified example. I want a formula that will return 304 if I look up using 02/03/20 and 89076.
My current solution is to make another column that concatenates column A and column B and then do a Vlookup on the column but I am looking for a solution that does not require adding another column.
Using Excel 2010

In Excel 2010, if you not looking for a figure but actual text, try the following:
=INDEX(D:D,MATCH(1,INDEX((A:A=DATEVALUE("02/03/20"))*(B:B=89076),),0))

Related

Google sheets - sum columns with multiple criteria

I've searched various posts and need the straightforward answer to summing a column with various criteria from other columns.
Hypothetically, I'm working to sum various numbers/amounts in Column A with criteria in Column B and C and maybe D. Column B would be a date. Column C would be a text cell, i.e. "C1". Column D could be another text field.
I've attempted to work with SUMIFS but am likely confused. My gut tells me this might be an Arrayformula, but I get a bit crossed up. Your help is appreciated.
The simplest solution is to make a pivot table without any calculation.
Group dates by year-month

with what logic results are retrieved when a aggreerate function is applied on columns having text data ..?

So I was retrieving some values from few set of tables of a database for making a dataset.Each and every column of that dataset is dependent on the value of a column having primary key.
So the problem is here...
there is column having textual data in the dataset which will be affecting to the value of a columns next to it.
So lets consider them as col1 and col2 .
now I was trying to get the values of col1 by using aggregate functions like MAX,MIN and they were giving me correct result for a set of primary keys. after some time when primary keys changes or I apply this logic with another dataset with same database its not giving me correct values.
I think its perfectly working for the columns having 2 values like 'A' or 'B' and the moment number of values increases by 3 and more its not working out correctly.
is there solution for this?
MAX and MIN, when applied to text essentially sort the whole column alphabetically (according to the collation of he column or the db) and then take the last (max) or first (min) value respectively
I've never encountered a problem with this as an algorithm; it's always correctly chosen the alphabetically latest or earliest value regardless of the count of values but you should bear in mind that collation will affect things; different languages sort differently and you should closely consider how a culture sorts it's alphabet when looking to my n or max text
Also remember min and max and grouping operations mix row data up so you don't get to keep other data from the same row when it is part of a grouping operation. If you want eg "the latest row as defined by textcolumn1, plus all the other data from that row" you'd probably need to use row_number() over(order by textcolumn1) and then pick the row where the output of row number was 1

Change values in list object

I am working with a list of bowling matches and want to update all matches for a specific week and a specific division.
By use of VBA, how do I change values in a column in a list for rows filtered for specific criteria on another column?
Something like that might be possible, but it's extremely difficult to asses without looking at the data. In SQL you have a database with fields and items, Excel tables can hold the data in a similar fashion, yet again as in SQL you need to see the relationship between the fields and items, to asses what can be done.

Google fusion table math formula

How to calculate and update a new column from existing columns in google fusion table.
Please give an example.
Using normal formulas like in Excel, we can create a new formula column and we have to write our own formula.
Eg. a+b+c where a,b,c are column names, if you have space in column name use single quote.
Please check the below link for more details - https://support.google.com/fusiontables/answer/178196?hl=en

Importing from Excel to Access Key Violations and Identical Formatting

first of all I'd like to say thanks. Although I'm still pretty new to it, I've learned nearly everything I know about Access from this site. This is one of the most helpful forums I've ever used.
I'm having a problem importing data to my Access database from my Excel spreadsheet. I keep getting a key violation saying a particular field (column) in each row was deleted. I have two tables on my database and two coinciding sheets on my spreadsheet. Both sheets have this particular field. Sheet1 is importing fine, but Access won't import anything from that field on sheet2. All the properties for this field are the same and the data preview during import verifies that the data is coming from both sheets in the same form.
From this source: http://www.utteraccess.com/forum/Key-Violations-Append-Q-t1918322.html
Key violations occur for 3 reasons:
1) when the record you are attempting to add to the table adds a duplicate value where the field does not allow duplicates
- This can't be it because every value in the field is unique and the field is set to allow duplicate values. And my primary key is the Access-generated replication ID.
2) when the record has a field value that is null and the field in the table is a required field
- the field on sheet1 is adding null values, and not all the values on sheet2 that won't add are null value. and the fields are set to accept null values.
3) Where a value is added that is not in a related table and referential integrity is set on the link between the tables
- I have no relationships set in my database yet.
I have done this import successfully before a few times and I've only made minor changes since then, the majority of which on the Excel file. Thanks for any replies, and thanks very much for any explanations.
I have found a good alternative solution to troubleshooting this problem. Instead of directly importing the data to the table I constructed in Access to match my Excel sheet, I imported the sheet by having Access create a new table. This table is automatically formatted to match the excel file that I am importing from.

Resources