Common Value

Waqas ali

Board Regular
Joined
Nov 6, 2010
Messages
163
Dear All,

i have a table named actual. i want to get in query as result.

from actual if Jobid last 4 digits are same than first value should come with second value.

example in result table is shown. i prepared it manually but i want to get through query.

how to write an query?

ActualResult
NameJobidLocationsiteJobTypeNameJobidComonLocationsiteJobType
John17800417-DHWwestDJohn17800417800417-DHWwestD
Dedy19800418-FEQeastDDedy19800417800418-FEQeastD
Pop25994011-LOBwestDPop25994025994011-LOBwestD
Jacob27994015-LOBeastDJacob27994025994015-LOBeastD
Udhay31456321-TOSwestLUdhay31456331456321-TOSwestL
Ashish33456323-TOSeastLAshish33456331456323-TOSeastL

<colgroup><col width="64" span="12" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,221,844
Messages
6,162,346
Members
451,760
Latest member
samue Thon Ajaladin

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