getting values from adjacent columns on same row

Elemental

Board Regular
Joined
Jul 13, 2002
Messages
110
hi again

i was making a button that i'm not sure how to complete, and what i wanted it to do was enter a formula into column E on a row i select, that equaled the text "LAST RECORD FOR" and then added the date on the same row in column B, and if possible, only added the year value of that date.

so it would look like

[ ][ 27/9/02 ][ 6500 ][ ][LAST RECORD FOR 2002]

anybody know ?

:smile:
 
Use the formula in E1

="Last Record For Year " & Year(B1)

should return in E1 as

Last Record For Year 2002

if your date in b1 is within year 2002.

GNAga
This message was edited by gnaga on 2002-09-26 20:44
 
Upvote 0
It should work for your activecell.

GNaga
 
Upvote 0

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