Function Question

Efigment

New Member
Joined
Jul 25, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Dear Mr Excel & Co,

I am in a bind as i need an function that does the following:

I have 2 sheets:
Sheet 1 contains info of all client invoices from a few years (all which are mixed up) due to some clients getting multiple invoices but are all sorted by client ID. We have many invoices that the range is from B2:B85969
Sheet 2 with all client information (Client ID and if the client is active or closed) Client ID cell range A2:A709 and Client Status: J2:J709

I need a function that checks the Client ID in sheet 1 and check to see if Client ID in Sheet 2 is Active or Closed and list them as such.
So in sheet 1 i need cell range P2:P85969 to show if the company linked to that invoice is active or closed.

Please your assistance :)
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I am not sure whether Client ID on Sheet 1 are within B2:B85969 or elsewhere but something like this might hopefully do the trick:

Excel Formula:
=XLOOKUP(B2:B85969,Sheet2!A2:A709,Sheet2!J2:J709,"")
 
Upvote 0
The Client ID is present on both Sheet 1 and Sheet 2.
In Sheet 1 in range B2:B85969
In Sheet 2 in range A2:A709
 
Upvote 0
I see. So, test the above if it does what you are looking for.
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,164
Members
452,615
Latest member
bogeys2birdies

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