if formula mixed with vlookup

johny

Board Regular
Joined
Jul 15, 2002
Messages
69
As you all see I have the most
confusing problems
because data validation doesnt work with
cells that have forumlas Im trying to figure out a custom approach

So I need a formula something like this
=if(vlookup,a1,A6:a20,2)>activecell im changing
I need to look up the name and then choose
col 2 to compare that cell Thanks for anyones Help John
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Jonny,
not sure exactly what you are asking for, however I am often using vlookups and if statements together. Below is an example of what I have been using.

One of the methods I have been having success with, is to first Concatenate cells, and then use them as a vlookup. It sometimes helps with the doubling up of formulas.

The below formula is simply an example of how i use the two together:


=IF(ISERROR(IF(Y$27<=$X$3,VLOOKUP(C59,'TRIAL BALANCE DUMP'!$G:$O,7,FALSE),IF(Y$27>$X$3,VLOOKUP(C59,'G:DATAAccountsCorporateBudget 2003Reporting 2002-2003PRO MANAGEMENT AUTOMATION[Corporate Budget 02-03 v2.xls]Board '!B:AL,17,FALSE)))),0,IF(Y$27<=$X$3,(VLOOKUP(C59,'TRIAL BALANCE DUMP'!$G:$O,7,FALSE))/1000,IF(Y$27>$X$3,(VLOOKUP(C59,'G:DATAAccountsCorporateBudget 2003Reporting 2002-2003PRO MANAGEMENT AUTOMATION[Corporate Budget 02-03 v2.xls]Board '!B:AL,17,FALSE))/1000)))

Cheers,
Greg
 
Upvote 0
Thanks for the formula
I need something that is reversed
vlookup find the name and check column 2
so when I add this in validation it
actualy is comparing col 2
your formula compares first then vlookup
i need vlook then compare Please help if you can JOhn Thanks
 
Upvote 0

Forum statistics

Threads
1,225,481
Messages
6,185,249
Members
453,283
Latest member
Shortm88

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