Shaxda tusmada
Microsoft Excel waa barnaamij xaashida faafinta ah oo aad u badan. Waxay ku siinaysaa inay qabato hawlo aad u ballaadhan oo aanad xitaa malayn karin. Waxaad xitaa xisaabin kartaa masaafada wadista ee u dhaxaysa labada ciwaan ee Excel. Haddii aad haysato liis cinwaano ah si aad u ogaato farqiga u dhexeeya, waxaad dabcan isticmaali kartaa MS Excel. Waxaad sidoo kale xisaabin kartaa masaafada gacanta. Laakiin taasi waxay noqon doontaa waqti aad u badan. Maadaama aad haysato boqollaal kun oo masaafo ah oo aad xisaabiso. Sidaa darteed maqaalkan, waxaan ku tusi doonaa sida loo xisaabiyo masaafada wadista ee u dhaxaysa labada ciwaan ee Excel.
Soo deji Buug-hawleed Practice
> Waxaad kala soo bixi kartaa faylka Excel ee isku xirka soo socda oo ku celceli it. > Ku xisaabi masaafada u dhaxaysa labada ciwaan.xlsm>
Isticmaalka Trigonometric Functions si loo xisaabiyo Fogaanta Wadista >Halkan, waxaan ku tusi doonaa inaad isku darsato shaqo trigonometric si aad u xisaabiso masaafada wadista ee u dhaxaysa labada ciwaan ee Excel.
>Si aad u bixiso Tusaale ahaan, waxaan soo qaatay laba ciwaan. Ciwaanka ugu horeeya waa MacArthur Park, Camden NSW, Australia. Latitude iyo Longitude waa 34.06312149iyo -118.2783975siday u kala horreeyaan. Ciwaanka labaad waa Jersey City, New Jersey, USA. Latitude iyo longitude waa 40.71799929iyo -74.04276812siday u kala horreeyaan.Hadda, waxaan isku dari doonaa ACOS , COS , SIN , & RADIANS waxay u shaqeeyaan si ay u abuuraan qaacido. Qaaciddada ayaa si wax ku ool ah u xisaabin doonta masaafada wadista u dhaxaysa labada ciwaan ee mayl.
Taas,
❶ Dooro unugga D8 marka hore.
❷ Kadibna geli qaacidada soo socota ee unugga.
=ACOS(COS(RADIANS(90-C6)) *COS(RADIANS(90-C5)) +SIN(RADIANS(90-C6)) *SIN(RADIANS(90-C5)) * COS(RADIANS(D6-D5))) *3959
❸ Kadibna taabo badhanka ENTER
Hadda, waxaad arki doontaa in qaacidadu ay xisaabisay fogaanta wadista ee u dhaxaysa MacArthur Park, Camden NSW, Australia, iyo Jersey City, New Jersey, USA in miles. Markaa, waxaad natiijada ku arki doontaa unugga D8 oo ah 2445.270922 mayl> Kala-baxa Formula
- > 13> COS(RADIANS(90-C6)) *COS u beddelo qiyamka shucaaca iyo COS shaqada waxa ay bixisa labka qiyamka, cosines for latitude waa la badin doonaa markaas. Wax soo saarka - 0.365377540842758
- COS(RADIANS(D6-D5)) - waxay bixisaa qiimaha cosine farqiga u dhexeeya labada ciwaan. Wax soo saarka – 0.716476936499882
- SIN(RADIANS(90-C6)) *SIN(RADIANS(90-C5)) of longitudes ka 90 radian oo baray qiyamka sinaha. Wax soo saarka - 0.627884682513118 >
- SIN(RADIANS(90-C6)) *SIN D5)) - noqota0.627884682513118 * 0.716476936499882. Natiijada - 0.449864893802199
- COS(RADIANS(90-C6)) *COS(RADIANS(90-C5)) C6)) * SIN(RADIANS(90-C5)) *COS(RADIANS(D6-D5)) - waxay noqotaa 0.365377540842758 * 0.449864893802199. Wax soo saarka - 0.815242434644958 > 15>
- Ugu dambayntii, ku dhufashada qiimaha 3959 - 0.617648629071256 *3959 waxay ku siinaysaa natiijada mayl. Wax soo saarka - 2445.270922
- Ku qor loolka ciwaankamarka hore >
- ka bacdi geli comma >
- ka bacdi ku qor dhererka isla ciwaanka >
- Si aad u abuurto Bing MAP API , guji halkan . >
- Riix ALT + F11 si aad u furto Tafatiraha VBA . >
- Hadda tag Geli ➤ Module si loo furo module cusub. >
- > 13> Kadib ACOS shaqada arccosines qiimaha. Wax soo saarka - 0.617648629071256
Ka sii akhri 8> 2. Xisaabi Fogaanta Wadista ee u dhaxaysa Labada Ciwaanka Adigoo Adeegsanaya Koodhka VBA >Qaybtan, waxaan isticmaali doonaa VBA code si aan u abuurto hawl isticmaale-qeexay. Kadibna waxaan isticmaali doonaa shaqadaas si aan u xisaabiyo masaafada wadista ee u dhaxaysa labada ciwaan ee Excel.
Halkan, waxaan isticmaalayaa laba ciwaan. Ciwaanka ugu horeeya waa MacArthur Park, Camden NSW, Australia . Latitude iyo Longitude waa 34.06312149 iyo -118.2783975 siday u kala horreeyaan. Ciwaanka labaad waa Jersey City, New Jersey, USA . Latitude iyo Longitude waa 40.71799929 iyo -74.04276812 siday u kala horreeyaan.
>Halkan waxaan soo saari doonaa iskudubarid mid kasta oo ka mid ah ciwaannada. Iskudubaridku waa isku-darka loolka iyo dhererka. Si loo abuuro iskudubarid, >- >
Hadaba isku xidhka ciwaanka hore waa 34.0631214903094 ,-118.27839753751 . Isku xirka ciwaanka labaadna waa 40.7179992930381,-74.0427681204225 .
>
Laakin abuurista Google Khariidadda API waa la bixiyaa. Taa lidkeed, waxaad samayn kartaa API ee Bing MAP oo bilaash ah.
Sidaa darteed, waxaan isticmaalayaa Bing MAP API halkan.
>- >
Waxaan sameeyay API . Waxaan ku soo lifaaqayaa API hoos:
> > AhFG0hk5nKCcQlk80MRaSk1ZtoYUYsX98BCLWi7p7MKZ-VrzOWptdUwsvj9D3L9F
> > 6>VBA code. Taas awgeed, - >
Ka dib marka la furo VBA Editor , geli kuwan soo socda VBA code ee moduleka la furay.
9008
Koodhka kala-baxa >
>>Tani VBA code waxay soo saartaa hawl isticmaale-qeexay oo loo yaqaan Driving_Distance .
Shaqada Driving_Distance waxay u baahantahay 3 dood wadar ahaan.
Halkan waa tan macnaha guud ee Driving_Distance
>> =Driving_Distance(Start_Location_Coordinate,End_Location_Coordinate, API)
Hadda, waa waqtigii la adeegsan lahaa shaqada isticmaale-qeexay. Taas awgeed,- >
- Dooro unugga E10 . >
- Kaddibna geli qaacidada soo socota: > 15> >> >
- Hadda, taabo ENTER . >
- E5 waa Bilow_Goob_isku xidhka .
- E6 waa Dhamaadka_Goobta_isku xidhka . <13 C8 waa API ee Bing MAP . >C8 fogaanta wadista inta u dhaxaysa laba ciwaan oo mayl. Ka eeg unugga E10 . Waxay arki doontaa lambarka, 2790 .
=Driving_Distance(E5,E6,C8)
- >
Jajabka Formula
12>Marka masaafada wadista ee u dhaxaysa MacArthur Park,Camden NSW, Australia, iyo Jersey City, New Jersey, USA waa 2790 mayl.
>
Faahfaahin dheeraad ah ka sii akhri: >Sida loo Xisaabiyo Masaafada u dhaxaysa Labada Ciwaanka ee Excel (3 Ways)
> Qaybta Tababarka > Waxaad heli doontaa xaashi Excel ah sida shaashadda soo socota, dhamaadka faylka Excel ee la bixiyay halkaas oo aad ku dhaqmi karto dhammaan hababka looga hadlay maqaalkan
Gabagabo
Si aan u soo koobo, waxaan ka hadlay 2. siyaabo lagu xisaabiyo masaafada wadista ee u dhaxaysa labada ciwaan ee Excel. Ha ka waaban inaad wax su'aalo ah ku waydiiso qaybta faallooyinka ee hoose. Waxaan isku dayi doonaa inaan si dhaqso ah uga jawaabno dhammaan weydiimaha khuseeya Oo fadlan booqo websaydkayaga Exceldemy si aad wax badan u sahamiso.
>