Query

cornishteeth

Board Regular
Joined
Dec 6, 2002
Messages
117
I need to create a parameter query that returns the last digit of the persons social security number when user inputs it. I just don't know what formula to put in the criteria. Something on the lines of

[Enter Last Digit of SSN]
(What would be added to return the last digit?)

Thanks,

Frank
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Frank

What exactly do you mean?

Do you want to use the last digit as criteria? Or do you want it as the result?
 
Upvote 0
I would like the user to be able enter the last digit of a persons social security number and have the query return everyone with that input. For example, The user inputs the number 2, and all records ending in two are displayed.

Thanks,

Frank
 
Upvote 0
Frank

Maybe Like "*" & [Enter Last Digit of SSN]
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,424
Members
451,765
Latest member
craigvan888

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