vlook up help

Tonyk1051

Board Regular
Joined
Feb 1, 2021
Messages
132
Office Version
  1. 2019
Platform
  1. Windows
is there a way to customize the vlook up so that when I use it ,not only only does it populate based on keysheet but
If the same user, on the same date, uses the same action type on the same vendor, they all get the number 0 in column H instead except for the line that has the earliest date. that number remains the same. See the drop box link for workbook of how it should look manually. if not a vlook up then a different formula maybe?

 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
i had trouble downloading the file - so had to copy and change the dates to UK format
anyway
does
=IF(COUNTIFS($A$2:A2,A2,$B$2:B2,B2,$E$2:E2,E2,$G$2:G2,G2)=1,5,0)
work

Book3
ABCDEFGHIJ
1user iddateday of weekactionaction typeROVendortiming
2raymart3/11/23 9:38Fridayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 555
3raymart3/11/23 9:38Fridayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 500
4raymart3/11/23 9:38Fridayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 500
5delaneyp11/27/23 11:56 AMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 55
6delaneyp5/12/23 17:44weekdayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 55
7delaneyp11/12/23 12:48weekdayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 55
8delaneyp12/14/23 5:23 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR456338AIRSELFIE NA 55
9delaneyp12/12/23 18:32weekdayro message categoryCOLLECTIONS CONTACTED VENDOR466418AKSCINE LLC55
10delaneyp11/21/23 6:02 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR463328ALL-WAYS SAFETY INC. 55
11delaneyp5/12/23 18:14weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465325ALMO CORPORATION 55
12delaneyp12/12/23 18:44weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465325ALMO CORPORATION 55
13mroche1/12/23 17:17weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465325ALMO CORPORATION 555
14mroche1/12/23 17:17weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465716ALMO CORPORATION 500
15mroche1/12/23 17:17weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465716ALMO CORPORATION 500
16mroche1/12/23 17:17weekdayro message categoryCOLLECTIONS CONTACTED VENDOR465716ALMO CORPORATION 500
17mroche1/12/23 17:17weekdayro message categoryCOLLECTIONS CONTACTED VENDOR469006ALMO CORPORATION 500
18mroche12/20/23 6:35 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR469007ALMO CORPORATION 55
19delaneyp12/21/23 10:38 AMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR469007ALMO CORPORATION 55
20delaneyp10/30/23 6:07 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR455747ALPHATHETA MUSIC AMERICA S INC55
21delaneyp10/30/23 6:08 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR457258ALPHATHETA MUSIC AMERICA S INC55
22delaneyp9/11/23 12:24weekdayro message categoryCOLLECTIONS CONTACTED VENDOR462857AUTEL ROBOTICS USA LLC55
23delaneyp10/30/23 6:57 PMweekdayro message categoryCOLLECTIONS CONTACTED VENDOR460779BOGEN COMMUNICATIONS LLC 55
24delaneyp9/11/23 13:47weekdayro message categoryCOLLECTIONS CONTACTED VENDOR460779BOGEN COMMUNICATIONS LLC 55
Sheet1
Cell Formulas
RangeFormula
J2:J24J2=IF(COUNTIFS($A$2:A2,A2,$B$2:B2,B2,$E$2:E2,E2,$G$2:G2,G2)=1,5,0)
 
Upvote 0
No it doesn’t work as intended, some cells have a 5 where it should be 0 and all the criteria has been met…
 
Upvote 0
can you show an example where that happens please
 
Upvote 0
its the yellow
 

Attachments

  • image1.jpeg
    image1.jpeg
    26.1 KB · Views: 10
Upvote 0
i cannot read that - sorry

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
i cannot read that - sorry

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
no problem, give me sometime as i just woke up, appreciate the help though
 
Upvote 0
you are welcome, i'm in UK , so maybe a timezone difference , but will reply...
 
Upvote 0
editing

viewing

try these links, if it works then you can use the file for both this issue and the advance formula issue
 
Upvote 0
downloaded the file - not sure where i am supposed to be looking
Data Sheet ?
for some reasomn its not calculating , will have to look further into - works on a seperate spreadsheet OK
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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