Excel formula - Confirm date and display info?

wolf1988

New Member
Joined
Nov 21, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi


I'm not the most experienced with excel but trying to automate a task I have to do each month at my voluntary group. Below I've posted a rough idea of what I want to do but I'm not sure how to about it.


Sheet 1 - Pro
a2 - Date
B2 - Info

Sheet 2 - Task

b1 - =Date(xx,xx,xx)


b2 -


So i want to know if I can get Task B2 to check B1 for the date then look at Pro A2 to confirm or find a date and if found display info found in b2?

Would appreciate an help.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Welcome to the Board!

I think your question may be clearer to people if you can show us some sample data and expected output.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
1732302480109.png
1732302546562.png
 
Upvote 0
Isn't it just replacing the TRUE with Pro!B2 Edit: although @Joe4 is probably nearer to what you want with what he has posted in post 3

Book1
AB
1
222/11/2024This is the info
Pro


Result with B2 formatted as number
Book1
AB
145618
2This is the info
Sheet5
Cell Formulas
RangeFormula
B2B2=IF(B1=Pro!A2,Pro!B2,"No Match")


Result with B2 formatted as Date
Book1
AB
122/11/2024
2This is the info
Sheet5
Cell Formulas
RangeFormula
B2B2=IF(B1=Pro!A2,Pro!B2,"No Match")
 
Last edited:
Upvote 0
So, if I am understanding this, you want to take the take from cell B1, and look in column A of the "Pro" sheet for its match, and if it finds it, return the value from column B of that same row of the Pro sheet? And if no match is found, print "No Match"? I am assuming that you really have more than one row of data to search through on your Pro sheet.

Let's say that you have data in rows 2:100 on your Pro sheet. Then the formula to put into cell B2 on your other sheet would look something like this:
Excel Formula:
=IFERROR(VLOOKUP(B1,Pro!$A$2:$B$100,2,0),"No Match")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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