:D snasui.com ยินดีต้อนรับ :D
ยินดีต้อนรับสู่กระดานถามตอบ Excel and VBA และอื่น ๆ ที่เป็นมิตรกับทุกท่าน มีไฟล์แนบมหาศาล ช่วยให้ท่านค้นหาและติดตามศึกษาได้โดยง่าย :thup: สมาชิกท่านใดที่ยังไม่ได้ระบุ Version ของ Excel ที่ใช้งานจริง สามารถทำตาม Link นี้เพื่อจะได้รับคำตอบที่ตรงกับ Version ของท่านครับ :arrow: ระบุ Version ของ Excel
:!: โปรดทราบ :!:
  1. กรุณาอ่านกฎการใช้บอร์ด (Forum rules) ในตำแหน่งด้านบนของแต่ละบอร์ด
  2. การสมัครสมาชิก การ Login การกู้คืนรหัสผ่าน
    1. สมัครสมาชิกดูขั้นตอนได้ที่ :arrow: สมัครสมาชิก
    2. Login เข้าระบบโดยคลิกปุ่ม Login ตรงมุมขวาบนของหน้านี้ :roll:
    3. การ Login ผ่าน Facebook ดูวิธีที่ :arrow: Login ผ่าน Facebook
    4. ลืมรหัสผ่านสามารถรับรหัสใหม่ได้ที่ :arrow: Reset รหัสผ่าน
  3. มีปัญหาการใช้งาน แจ้งผู้ดูแลระบบได้ที่ :arrow: ติดต่อผู้ดูแลระบบ
  4. กำหนดการตั้งค่าส่วนตัว เช่นตั้งค่าภาษาเป็นไทยหรืออังกฤษดูได้ที่ :arrow: ตั้งค่าส่วนตัว
  5. การตั้งและตอบกระทู้ดูได้ที่ :arrow: วิธีการตั้งและตอบกระทู้
  6. การจัดรูปแบบตัวอักษรด้วย bbcode ในช่องแสดงความคิดเห็นดูได้ที่ :arrow: จัดรูปแบบตัวอักษร
  7. กำหนดขนาดตัวอักษรใน Browser ดูได้ที่ :arrow: กำหนดขนาดตัวอักษรใน Browser
🪷 คำแสดงเจตนา
ขอผลแห่งการให้ความรู้นี้ จงกลับไปยังผู้ที่เป็นเจ้าของเดิม แม้ข้าพเจ้าจะไม่รู้จักท่านก็ตาม ขอให้แสงแห่งปัญญาที่ท่านเคยจุดไว้ ได้กลับไปเติมเต็มชีวิตของท่านอีกครั้ง และขอให้เจตนาของข้าพเจ้าเป็นการคืนความดีอย่างสงบ

index_match combo

ฟอรัมถาม-ตอบปัญหาการใช้งาน MS Excel and VBA
Forum rules
  1. ไม่อนุญาตให้ใช้ภาษาแชทในการถามและตอบปัญหา ไม่ใช้คำว่า "คับ" หรือ "อ่ะครับ" แทนคำว่า "ครับ" ไม่ใช้คำว่า "เด๋ว" แทนคำว่า "เดี๋ยว" เป็นต้น เนื่องจากเมื่อแปลเป็นภาษาต่างประเทศแล้วจะให้ความหมายผิดไปจากที่ควรจะเป็น
  2. ห้ามถามโดยระบุชื่อผู้ตอบและต้องตั้งชื่อกระทู้ให้สื่อถึงปัญหาที่จะถาม ไม่ตั้งชื่อว่า ช่วยด้วยครับ, มีปัญหามาปรึกษาครับ เป็นต้น
  3. กรุณาอธิบายปัญหาและระบุคำตอบที่ต้องการมาในกระทู้ด้วยเสมอถึงแม้จะอธิบายไว้ในไฟล์แนบแล้วก็ตาม ทั้งนี้เพื่ออำนวยความสะดวกแก่เพื่อนสมาชิกในการค้นหาข้อมูล
  4. กรุณาแนบไฟล์ตัวอย่างพร้อมแสดงคำตอบที่ถูกต้องมาในไฟล์ด้วยเพื่อให้ง่ายต่อการทำความเข้าใจและสะดวกต่อการตอบคำถาม (ขนาดไฟล์ไม่เกิน 500Kb ขนาดภาพไม่เกิน 800*600 Pixel) ไม่แนบเป็น Link มาจากแหล่งอื่นที่อาจจะถูกลบทิ้งไปโดยต้นทางในภายหลัง นอกจากนี้ไม่ควรแนบไฟล์ที่มีข้อมูลสำคัญอันก่อให้เกิดความเสียหายกับตนเองและผู้อื่น
  5. กรณีเป็นคำถามเกี่ยวกับ Programming เช่น VBA, VB.Net, C#, SQL ฯลฯ ต้องลองเขียนมาเองก่อนเสมอ ถามเฉพาะที่ติดปัญหา ระบุ Module, Procedure ที่ติดปัญหาให้ชัดเจน กรุณาโพสต์ Code ให้แสดงเป็น Code คือเปิดด้วย [code] และปิดด้วย [/code] ตัวอย่างเช่น [code]dim r as range[/code] เพื่อให้แตกต่างจากข้อความทั่วไป สะดวกในการอ่านและทดสอบ (คลิกเพื่อดูตัวอย่าง)
  6. กรุณาแจ้งผลการใช้งานเมื่อได้รับคำตอบว่าตรงกับความต้องการหรือไม่
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

index_match combo

#1

Post by sna »

Hi there!

"Level is given from B5:AF5 and Basic is given below the level accordingly so my query is e.g. level is 13 (given in G48 that I may change it) and basic is 53600 (given in H48 that I may change it) from the above table………. so If I write Previous Level e.g. 10 then in the column of level no 10 the number which is adjacent to less than 53600 should come. Similarly if I change the Previous Level number, it should change automatically"

Thanks
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#2

Post by sna »

Attached here
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#3

Post by sna »

Attached
You do not have the required permissions to view the files attached to this post.
User avatar
norkaz
Gold
Gold
Posts: 1805
Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365

Re: index_match combo

#4

Post by norkaz »

...

Hi guy,

I’m not sure that I know what you mean.

a) At level 13, what are the criteria for why it would be 53,600 at H48?

b) Then if it's changed from 13 to 10, what is the answer that it would be and why?

Could you please clarify that?

Norkaz
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#5

Post by sna »

Hi
the criteria is upon level.
if I change level 10 or 9 or 3 or any level that I decide so, from that level, it should be closely lesser than 53600 e.g.
Because an employee has been pramoted to level 13 from 10 so If I need to check his previous basic from level 10........so it is
User avatar
norkaz
Gold
Gold
Posts: 1805
Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365

Re: index_match combo

#6

Post by norkaz »

...


H49

=INDEX(B6:AF45,MATCH(H48,INDEX(B6:AF45,0,G48),0),G49)

I'm not sure I understand this correctly. I hope that's what you're looking for.

If it's not the right solution, could you please explain that again by giving me the answer as b) of my previous post?

Norkaz
You do not have the required permissions to view the files attached to this post.
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#7

Post by sna »

I want Closer Value of the Data i.e. Less than Closer of the Value
note cell G48,H48,G49 are manual input.i mean to find closer value of H48.

Tks
User avatar
norkaz
Gold
Gold
Posts: 1805
Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365

Re: index_match combo

#8

Post by norkaz »

..

Hi,


It's still not clear exactly for the less than closer of value.

If these cells are manual input --
G48 = 13
H48 = 53600
G49 = 10

what is the closer that you would like to be?
I mean what's the number that H49 would be from B6:AF45 ???


The number at H49 that need you to provide is the main point to find the right solution, please...

Norkaz
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#9

Post by sna »

the closer value is 52600
User avatar
norkaz
Gold
Gold
Posts: 1805
Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365

Re: index_match combo

#10

Post by norkaz »

..

In the column of level 10, the number 52600 appears in cell "K26".

How the number 52600 comes out, I mean what are the criteria that this number comes out?

Norkaz
sna
Silver
Silver
Posts: 699
Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365

Re: index_match combo

#11

Post by sna »

Thank you for your time,I got this question from a friend now he update me he found solution, please quit it.

Norkaz really appreciated what you help me so far 🙏
User avatar
norkaz
Gold
Gold
Posts: 1805
Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365

Re: index_match combo

#12

Post by norkaz »

..
Always welcome.

Norkaz
Post Reply