excel-formula


Excel formula compare current and history data


I am trying to compare current and history data to find out if number field is matching.
Currently, there are columns A through AM. However, the combination of S, T, U columns makes a unique row.
So I want to compare that combination to sheet2(history data) to find out if column Z is matching to the current value, and return "pass" if matching to the history data, and "review" if is not matching to history data. Is there any way to write this formula in Excel? I've tried to make a unique field by creating formula like this s2&t2&u2 both in history and current data, but vlookup does not work on this. Is there any way to make this process work?
Thank you
You can use this array formula at any cell of row 2 of sheet 1, then copy/paste along the column to check each of the rows.
=IF(ISNUMBER(MATCH(1,
(Sheet2!$S$2:$S$1000=S2)*
(Sheet2!$T$2:$T$1000=T2)*
(Sheet2!$U$2:$U$1000=U2)*
(Sheet2!$Z$2:$Z$1000=Z2),
0)), "pass","review") Ctrl+Shift+Enter
Remember, this is an array formula, edit it then type Ctrl+Shift+Enter otherwise it won't work.

Related Links

Getting filtered list in another sheet in Excel by formula
Excel array query
Where to write count in this expression?
Excel formula to sum values based on reference number in another column
Conditional Formatting with multiple text values
Logit Regression using Solver in Excel
Locking an Excel formula
How to compare columns in different excel sheets
How to return the number of values greater than X with multiple criteria
Copy from columns only when not equal to false
Row and column labels from LARGE function in table with multiple columns?
How can Excel search for value in a column, copy different cell in same row and paste in a separate workbook?
How to use a cell reference in Field Item pair of GETPIVOTDATA
Excel Count If Function not working properly
COnditional Format for cells in a colomn based on value of corresponding Row in another Colomn
Excel Using AND and OR together on the IF function

Categories

HOME
cluster-analysis
singleton
angularjs-directive
browserstack
google-api-oauth
wkhtmltopdf
spring-data-solr
elastalert
aspectj
yui
swift3.1
appsettings
indri
views
orange
django-rest-auth
fastboot
screen-scraping
quality-center
ps
akavache
expressionengine
visual-studio-community
launchd
jms-topic
folder
ng2-bootstrap
unity3d-5
fastadapter
incapsula
pyenv
cache-control
leaderboard
form-fields
redhat-brms
keychain
mixed-models
codepen
gridgain
taleo
piranha-cms
spring-data-commons
serverless-architecture
automapper-4
extjs3
aws-rds
kendo-scheduler
zedgraph
ios-keyboard-extension
pyautogui
group
jspx
django-celery
avaudiorecorder
shtml
calc
methodology
dynamics-nav-2013
database-project
edgar
borland-c++
avd
xmla
shunting-yard
pysvn
jsonschema2pojo
mind-manager
novell
diffmerge
nsnotificationcenter
fscanf
disabled-control
azure-caching
xps
nodeunit
infor-eam
nop
xcode5.1
violation
record-locking
architectural-patterns
brew
database-restore
boost.build
gpl
gssapi
blackberry-eclipse-plugin
beep
github-archive
stl-algorithm
ruby-1.9
cgaffinetransform
mscorlib
rjs
xpolog
jqtransform
conditional-operator
calendarextender
data-formats
zend-acl
jgrowl
jettison
tracd

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html