snasui.com ยินดีต้อนรับ
ยินดีต้อนรับสู่กระดานถามตอบ Excel and VBA และอื่น ๆ ที่เป็นมิตรกับทุกท่าน มีไฟล์แนบมหาศาล ช่วยให้ท่านค้นหาและติดตามศึกษาได้โดยง่าย สมาชิกท่านใดที่ยังไม่ได้ระบุ Version ของ Excel ที่ใช้งานจริง สามารถทำตาม Link นี้เพื่อจะได้รับคำตอบที่ตรงกับ Version ของท่านครับ ระบุ Version ของ Excel
คำแสดงเจตนา
ขอผลแห่งการให้ความรู้นี้ จงกลับไปยังผู้ที่เป็นเจ้าของเดิม แม้ข้าพเจ้าจะไม่รู้จักท่านก็ตาม ขอให้แสงแห่งปัญญาที่ท่านเคยจุดไว้ ได้กลับไปเติมเต็มชีวิตของท่านอีกครั้ง และขอให้เจตนาของข้าพเจ้าเป็นการคืนความดีอย่างสงบ
ฟอรัมถาม-ตอบปัญหาการใช้งาน MS Excel and VBA
Forum rules
ไม่อนุญาตให้ใช้ภาษาแชทในการถามและตอบปัญหา ไม่ใช้คำว่า "คับ" หรือ "อ่ะครับ" แทนคำว่า "ครับ" ไม่ใช้คำว่า "เด๋ว" แทนคำว่า "เดี๋ยว" เป็นต้น เนื่องจากเมื่อแปลเป็นภาษาต่างประเทศแล้วจะให้ความหมายผิดไปจากที่ควรจะเป็น
ห้ามถามโดยระบุชื่อผู้ตอบและต้องตั้งชื่อกระทู้ให้สื่อถึงปัญหาที่จะถาม ไม่ตั้งชื่อว่า ช่วยด้วยครับ, มีปัญหามาปรึกษาครับ เป็นต้น
กรุณาอธิบายปัญหาและระบุคำตอบที่ต้องการมาในกระทู้ด้วยเสมอถึงแม้จะอธิบายไว้ในไฟล์แนบแล้วก็ตาม ทั้งนี้เพื่ออำนวยความสะดวกแก่เพื่อนสมาชิกในการค้นหาข้อมูล
กรุณาแนบไฟล์ตัวอย่างพร้อมแสดงคำตอบที่ถูกต้องมาในไฟล์ด้วยเพื่อให้ง่ายต่อการทำความเข้าใจและสะดวกต่อการตอบคำถาม (ขนาดไฟล์ไม่เกิน 500Kb ขนาดภาพไม่เกิน 800*600 Pixel) ไม่แนบเป็น Link มาจากแหล่งอื่นที่อาจจะถูกลบทิ้งไปโดยต้นทางในภายหลัง นอกจากนี้ไม่ควรแนบไฟล์ที่มีข้อมูลสำคัญอันก่อให้เกิดความเสียหายกับตนเองและผู้อื่น
กรณีเป็นคำถามเกี่ยวกับ Programming เช่น VBA, VB.Net, C#, SQL ฯลฯ ต้องลองเขียนมาเองก่อนเสมอ ถามเฉพาะที่ติดปัญหา ระบุ Module, Procedure ที่ติดปัญหาให้ชัดเจน กรุณาโพสต์ Code ให้แสดงเป็น Code คือเปิดด้วย [code] และปิดด้วย [/code] ตัวอย่างเช่น [code]dim r as range[/code] เพื่อให้แตกต่างจากข้อความทั่วไป สะดวกในการอ่านและทดสอบ (คลิกเพื่อดูตัวอย่าง)
กรุณาแจ้งผลการใช้งานเมื่อได้รับคำตอบว่าตรงกับความต้องการหรือไม่
sna
Silver
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#1
Post
by sna » Mon Sep 05, 2022 3:03 pm
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
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#2
Post
by sna » Mon Sep 05, 2022 3:06 pm
Attached here
sna
Silver
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#3
Post
by sna » Mon Sep 05, 2022 4:25 pm
Attached
You do not have the required permissions to view the files attached to this post.
norkaz
Gold
Posts: 1805 Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365
#4
Post
by norkaz » Mon Sep 05, 2022 7:36 pm
...
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
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#5
Post
by sna » Mon Sep 05, 2022 9:57 pm
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
norkaz
Gold
Posts: 1805 Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365
#6
Post
by norkaz » Mon Sep 05, 2022 10:48 pm
...
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
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#7
Post
by sna » Tue Sep 06, 2022 9:55 pm
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
norkaz
Gold
Posts: 1805 Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365
#8
Post
by norkaz » Tue Sep 06, 2022 11:11 pm
..
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
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#9
Post
by sna » Sun Sep 11, 2022 8:52 pm
the closer value is 52600
norkaz
Gold
Posts: 1805 Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365
#10
Post
by norkaz » Sun Sep 11, 2022 9:46 pm
..
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
Posts: 699 Joined: Tue May 05, 2020 8:18 am
Excel Ver: Excel 365
#11
Post
by sna » Mon Sep 12, 2022 10:24 am
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
norkaz
Gold
Posts: 1805 Joined: Wed Jan 12, 2011 7:59 pm
Excel Ver: 2013,365
#12
Post
by norkaz » Mon Sep 12, 2022 1:27 pm
..
Always welcome.
Norkaz