if the else

CrashOD

Board Regular
Joined
Feb 5, 2019
Messages
118
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows

<colgroup><col style="mso-width-source:userset;mso-width-alt:9325;width:191pt" width="255"> <col style="mso-width-source:userset;mso-width-alt:2157;width:44pt" width="59"> <col style="mso-width-source:userset;mso-width-alt:10532;width:216pt" width="288"> </colgroup><tbody>
[TD="class: xl65, width: 255"]SHELBERT JESSICA[/TD]
[TD="class: xl65, width: 59, align: right"]145
[/TD]
[TD="class: xl65, width: 288"] N anthracite st
[/TD]

[TD="class: xl65"]BROWN BRIANNA
[/TD]
[TD="class: xl65, align: right"]326
[/TD]
[TD="class: xl65"] w arch st
[/TD]

[TD="class: xl65"]ORME SHANNA N
[/TD]
[TD="class: xl65, align: right"]1
[/TD]
[TD="class: xl65"]w arch st
[/TD]

[TD="class: xl65"][/TD]

</tbody>

name house number street address


i have excel sheet set up like this and i have to try and figure how to say

n anthracite st ALL even & odd 3rd w
w arch st 326 - 798 even 2-2
w arch st 1-324 odd 2-2

so in so in cell next to address it would look like this


<tbody>
[TD="class: xl65"]ORME SHANNA N
[/TD]
[TD="class: xl65, align: right"]1
[/TD]
[TD="class: xl65"]w arch st 2-2

[/TD]

</tbody>

any help would be greatfull. thanks so much.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
how does excel know what to add
n anthracite st ALL even & odd 3rd w
w arch st 326 - 798 even 2-2
w arch st 1-324 odd 2-2
 
Upvote 0
how does excel know what to add
n anthracite st ALL even & odd 3rd w
w arch st 326 - 798 even 2-2
w arch st 1-324 odd 2-2

I can put that on like worksheet that I can try and pull from. I'm just trying to figure out I would have no idea how to do the figuring out for something this complex. It won't let me upload a photo from my phone to show you what the Excel worksheet looks like. But I have to take the house address and the house number and use that to figure out what Ward they are in.
 
Upvote 0
if you want to add to the same cell , you will need vba I suspect
OR if in a new column , then have an area list and use a lookup

can you post to dropbox, onedrive and link here
there is an add-in to post to the forum
 
Upvote 0
im putting the ward info on excel book and will find a way to upload for you to look at the two. thanks so much. may take a couple days.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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