Need Help? Contact the Espiya Helpdesk. CLICK HERE


Author Topic: Patulong mga Ka SPIYA about EXCEL!  (Read 10496 times)

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Patulong mga Ka SPIYA about EXCEL!
« on: March 07, 2016, 01:40:23 am »
Guys patulong naman about excel.

Meron akong excel file..bali yung nasa (Column A Row 1) ang naka input for example "300", ngayon ang gusto ko kapag i iinput ko yung value ng "300" as Column A Row 1 mag aautomatic na may lalabas sa Column B Row 1 na "150".

Thanks in Advance mga Idol! toast::

KaMushroom

  • 2007 Bravehearts
  • Active - Top Level
  • *
  • Posts: 1648
  • Karma 24
  • Gender: Male
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #1 on: March 07, 2016, 02:01:47 am »
=IF(A1=300,150," ")
.

maniac2999

  • Console Gamers
  • Active - Top Level
  • *
  • Posts: 1287
  • Karma 178
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #2 on: March 07, 2016, 02:13:16 am »
=IF(A1=300,150," ")


OR... assuming half yung gusto in general..

B1 formula: =A1/2.0

TigerClaw

  • "The Watcher"
  • Staff
  • Active - Top Level
  • *
  • Posts: 3742
  • Karma 103
  • Gender: Male
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #3 on: March 07, 2016, 02:13:45 am »
encode mo ito sa Column B Row 1:

=IF(A1=300,"150","")
Ang Tunay Na Matalino Ay Yung Hindi Lumalaki Ang Ulo At Ang Tunay Na Edukado Hindi Nanlalait Ng Ibang Tao.
Madaling Sabihin Pero Mahirap Gawin!

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #4 on: March 07, 2016, 02:52:31 am »
encode mo ito sa Column B Row 1:

=IF(A1=300,"150","")

Thanks Idol finger4u

Pero kung hindi lang 300 ang gusto ko ilalagay s A1 exaple gusto ko din "460" naman tapos 100 naman yung mag aappeare dun sa B1,?
=IF(A1=300,"150","",A1=400,"100","") - Tama ba to sir???

maniac2999

  • Console Gamers
  • Active - Top Level
  • *
  • Posts: 1287
  • Karma 178
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #5 on: March 07, 2016, 03:04:13 am »
Thanks Idol finger4u

Pero kung hindi lang 300 ang gusto ko ilalagay s A1 exaple gusto ko din "460" naman tapos 100 naman yung mag aappeare dun sa B1,?
=IF(A1=300,"150","",A1=400,"100","") - Tama ba to sir???


.... wala bang common factor yan? questionable approach ang static if-else statements.

just to answer, search mo na lang yung usage ng "lookup tables", bale magdedefine ka ng value for A then corresponding value for B dun.

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #6 on: March 07, 2016, 03:26:01 am »

.... wala bang common factor yan? questionable approach ang static if-else statements.

just to answer, search mo na lang yung usage ng "lookup tables", bale magdedefine ka ng value for A then corresponding value for B dun.

Paano yung common factor san ko i sesearch?? finger4u

maniac2999

  • Console Gamers
  • Active - Top Level
  • *
  • Posts: 1287
  • Karma 178
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #7 on: March 07, 2016, 03:30:28 am »
Paano yung common factor san ko i sesearch?? finger4u

common factor, for example: yung B value is half ng A value, or in math terms B=f(A). But gagana naman yung lookup tables kung wala ka talagang makitang common factors.

ToyCar

  • jack of all trades, master of none ;)
  • Gold Member (Premium)
  • Active - Top Level
  • *
  • Posts: 855
  • Karma 89
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #8 on: March 07, 2016, 04:22:11 am »
magulo kasi tanong mo.,

pinakamadali dyan i-explain mo ang ang input mo sa cell A and ano ang output na gusto mo lalabas sa cell B.

magbigay ka ng halimbawa para madali isipin ang tamang formula.
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it.

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #9 on: March 07, 2016, 08:13:46 pm »
magulo kasi tanong mo.,

pinakamadali dyan i-explain mo ang ang input mo sa cell A and ano ang output na gusto mo lalabas sa cell B.

magbigay ka ng halimbawa para madali isipin ang tamang formula.

Ganito kasi yun..bali sa A1 may mga value ako na iinput (3 uri ng value ) una 300, pangalawa 400, pangatlo, 500, pero mamimili lang ako jan depende sa sitwasyon kasi..misan 300 minsa 400 minsa 500 ang iniiput ko..pero hindi ako ng iinput ng 2 o higit pa na value example (300 at 400) laging 1 value lang ang iniimput ko,tapos, ang gusto ko mang yari pag nag imput ako sa A1 cell kapag 300 ang napili ko  lalabas naman sa B1 cell ay 120,,pag 400 nman ang iinput ko ang gusto ko lalabas sa B1 is 150, tapos ang huli pag 500 naman yung gusto kung ininput sa A1 ang gusto ko naman lalabas sa B1 eh 200..

maniac2999

  • Console Gamers
  • Active - Top Level
  • *
  • Posts: 1287
  • Karma 178
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #10 on: March 07, 2016, 09:37:50 pm »
Ganito kasi yun..bali sa A1 may mga value ako na iinput (3 uri ng value ) una 300, pangalawa 400, pangatlo, 500, pero mamimili lang ako jan depende sa sitwasyon kasi..misan 300 minsa 400 minsa 500 ang iniiput ko..pero hindi ako ng iinput ng 2 o higit pa na value example (300 at 400) laging 1 value lang ang iniimput ko,tapos, ang gusto ko mang yari pag nag imput ako sa A1 cell kapag 300 ang napili ko  lalabas naman sa B1 cell ay 120,,pag 400 nman ang iinput ko ang gusto ko lalabas sa B1 is 150, tapos ang huli pag 500 naman yung gusto kung ininput sa A1 ang gusto ko naman lalabas sa B1 eh 200..

Stick to if-else na nga lang. =if(a=b,1,(a=c,2,(a=d,3,0))) .. edit mo na lang yan.

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #11 on: March 07, 2016, 10:18:28 pm »
Stick to if-else na nga lang. =if(a=b,1,(a=c,2,(a=d,3,0))) .. edit mo na lang yan.

Sir hindi ko alam kung papano ang structuture ng formula pag eedit na paturo nman


Thanks in advance

TigerClaw

  • "The Watcher"
  • Staff
  • Active - Top Level
  • *
  • Posts: 3742
  • Karma 103
  • Gender: Male
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #12 on: March 07, 2016, 11:33:12 pm »
=IF(A1=300,"120",IF(A1=400,"150",IF(A1=500,"200","")))
« Last Edit: March 07, 2016, 11:35:34 pm by TigerClaw »
Ang Tunay Na Matalino Ay Yung Hindi Lumalaki Ang Ulo At Ang Tunay Na Edukado Hindi Nanlalait Ng Ibang Tao.
Madaling Sabihin Pero Mahirap Gawin!

ToyCar

  • jack of all trades, master of none ;)
  • Gold Member (Premium)
  • Active - Top Level
  • *
  • Posts: 855
  • Karma 89
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #13 on: March 08, 2016, 12:03:28 am »
see, mas madali i-analyze ang requirement mo kung detalyado ang explanation mo.

as TigerClaw put it, you can use that formula on cell B2.

I have slightly modified the formula to inform user to choose only from values 500,300 and 200 on cell A1
Code: [Select]
=IF(A1=300,"120",IF(A1=400,"150",IF(A1=500,"200","Wrong Input: Choose from 300, 400 or 500 only!")))
« Last Edit: March 08, 2016, 12:15:49 am by ToyCar »
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it.

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #14 on: March 08, 2016, 03:11:51 am »
Thanks for usual support guys"BEST TEACHER " kayo  ;D, try ko to bukas

alucardver

  • 2006 Vanguards
  • Active - Top Level
  • *
  • Posts: 2413
  • Karma 47
  • You Can Run,But You Can't Hide!!!
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #15 on: March 16, 2016, 06:39:01 am »
kung meron kang table nyang result mo, pwede ka gumamit ng Vlookup

=IF(A1<>0,(VLOOKUP(A1,Sheet2!$A$1:$B$11,2,FALSE)),"")


check the picture below for references

Sheet 1


Sheet 2
pc problem? we have tutorial on to troubleshoot your PC here at:
http://pctekguru.blogspot.com

lesterbadass

  • Active - Two Stars
  • **
  • Posts: 214
  • Karma 12
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #16 on: March 18, 2016, 02:05:33 am »
kung meron kang table nyang result mo, pwede ka gumamit ng Vlookup

=IF(A1<>0,(VLOOKUP(A1,Sheet2!$A$1:$B$11,2,FALSE)),"")


check the picture below for references

Sheet 1



sir yung image mo di ko ma open..restricted...
Sheet 2


gemtak

  • Anime Fans
  • Active - First Star
  • *
  • Posts: 10
  • Karma 4
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #17 on: March 18, 2016, 03:01:03 am »
Kulang ng range yun table nyo

maniac2999

  • Console Gamers
  • Active - Top Level
  • *
  • Posts: 1287
  • Karma 178
Re: Patulong mga Ka SPIYA about EXCEL!
« Reply #18 on: March 18, 2016, 04:32:17 am »
Bad idea yung table, mas mataas na overhead kaysa if-else for naive cases. (at hamak na mas mahirap aralin yung parameters, kung sa if-else pa lang hirap na)

alucardver

  • 2006 Vanguards
  • Active - Top Level
  • *
  • Posts: 2413
  • Karma 47
  • You Can Run,But You Can't Hide!!!
pc problem? we have tutorial on to troubleshoot your PC here at:
http://pctekguru.blogspot.com