Function Required

Discuss the spreadsheet application
Post Reply
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Function Required

Post by Idrees Khan »

Hi all
Following is the Query
A Colum. b colum
5500 =< than 160
7100=< than 185
11050=< than 240
13450=< than 270

Please help which function is worked for above
Last edited by Idrees Khan on Sat Jul 22, 2017 9:10 am, edited 1 time in total.
OpenOffice 44.1.1 windows
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Funcation Reqquired

Post by robleyd »

I'm not sure exactly what you are asking, but for a guess you might want VLOOKUP.

Perhaps if you can explain a little more clearly what you are trying to do, we can give better advice.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Reqquired

Post by Idrees Khan »

PAYGRADES.pdf
(29.44 KiB) Downloaded 111 times
I want if i enter value 3500 in cell A1 then it must show value 110 in cell B1 or if I will enter value 4600 in cell A1 then it must show value 150 in cell B1 and so on as given.
Last edited by Idrees Khan on Tue Jul 18, 2017 9:17 am, edited 1 time in total.
OpenOffice 44.1.1 windows
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Funcation Reqquired

Post by Zizi64 »

Hi all
Following is the Query
A Colum. b colum
5500 =< than 160
7100=< than 185
11050=< than 240
13450=< than 270

Please help which function is worked for above
You gave us incomplete information.
Please upload your real ODF type sample document here, and give us more details about your problem.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
RoryOF
Moderator
Posts: 34612
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Funcation Reqquired

Post by RoryOF »

This is a very similar query to that in
viewtopic.php?f=9&t=89574
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Reqquired

Post by Idrees Khan »

PAYGRADES.pdf
OpenOffice 44.1.1 windows
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Funcation Reqquired

Post by robleyd »

You need the VLOOKUP function - see VLOOKUP on the OpenOffice Wiki or search VLOOKUP in the offline (F1) help.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
Lupp
Volunteer
Posts: 3549
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Funcation Reqquired

Post by Lupp »

The question here looks very similar to the one posted an hour earlier (2017-07-18 08:26) by "khalid". May it be that you both are participating in the same class?
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Funcation Reqquired

Post by Zizi64 »

PAYGRADES.pdf
What is it?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
soby
Volunteer
Posts: 150
Joined: Sat Oct 29, 2016 10:49 am

Re: Funcation Reqquired

Post by soby »

with so less info; we can not give a solution to your problem
but i did try to make some
Attachments
pay per units.ods
(8.72 KiB) Downloaded 93 times
Libre Office 6.1 dev homebuild Open Office 4.1.5 on Slackware64 current
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Required

Post by Idrees Khan »

Paygrade.pdf
Pya Grade
(11.12 KiB) Downloaded 69 times
Sorry to all I can not explain my question and Thanks Soby it help me lot, one more request to you kindly view my attachment and complete the Pay Grade tell end . Thanks.
OpenOffice 44.1.1 windows
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Funcation Reqquired

Post by Zizi64 »

Paygrade.pdf
The .pdf can not show us what formulas you have tried to use.
Please upload your real .ods sample here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Reqquired

Post by Idrees Khan »

Paygrade.pdf
payunit
(14.2 KiB) Downloaded 88 times
I have 250 employees data and every employee has different basic pay . I need a function to
handle this according to the basic pay and pay Grades.
Let Suppose an Employee Basic Pay <=3500 then increase in basic Pay 110. as given in Pay Grade
in column. B and then total (Column A+ B) and pay Grade change according to basic pay.
OpenOffice 44.1.1 windows
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Funcation Reqquired

Post by Zizi64 »

Please upload an .ods sample file here, but NOT a .pdf one.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Reqquired

Post by Idrees Khan »

pay per units.ods
(10.76 KiB) Downloaded 103 times
please view it.
Attachments
Paygrade.ods
payunit
(17.12 KiB) Downloaded 97 times
OpenOffice 44.1.1 windows
User avatar
Lupp
Volunteer
Posts: 3549
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Funcation Reqquired

Post by Lupp »

The first attachement above (pay per unit) seems to contain a contradiction - as well internally as with respect to above given explanations. In short:
110 applied up to 3500?
150 only apllied if at least 5900?

An answer is not possible if the intentions are not completely clear.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
soby
Volunteer
Posts: 150
Joined: Sat Oct 29, 2016 10:49 am

Re: Funcation Reqquired

Post by soby »

If i am wright the pay per unit was my first tough and with so less info its normal to suggest something like that.
But now i see more clear, its more a yearly upgrade of the basic payment.
So the mere years a employee works the higher the payment.
I hope this is it.
Libre Office 6.1 dev homebuild Open Office 4.1.5 on Slackware64 current
User avatar
Lupp
Volunteer
Posts: 3549
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Funcation Reqquired

Post by Lupp »

(OK. I was wrong to download that file. Thought it was by the OQer. )

I now attach a reworked version of the other ods (Paygrade.ods) attached by the OQer.
Lookup tables for matching a search value like "greater than the previous entry but not greater than this one" are not directly supported. VLOOKUP and MATCH as well search a column assured to contain ascending values asking for the "index of the bottommost entry being not greater" than the search value.
For more details see attachment.
Attachments
a0089575LookupPaygrade_1.ods
(18.89 KiB) Downloaded 94 times
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
User avatar
soby
Volunteer
Posts: 150
Joined: Sat Oct 29, 2016 10:49 am

Re: Funcation Reqquired

Post by soby »

I have made some changes at your attachment, if its a per year increase of basic pay, than after 10 years, year 11 it change from 110 to 130 increase.
Lupp's solution may also of help
Attachments
Paygrade.ods
(11.15 KiB) Downloaded 77 times
Libre Office 6.1 dev homebuild Open Office 4.1.5 on Slackware64 current
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Funcation Reqquired

Post by Idrees Khan »

Paygrade.ods
(13.07 KiB) Downloaded 103 times
view sheet (3)
Thank a lot SOBY this function working perfectly, there is need some changing regrading pay grade
I need 1st increase of basic pay as per grade in separate column not sum in basic.
2nd a condition required if an employee joining period not less than six month than he is not entitlement of annual increment and if greater than six month and less than 9 month than half of increment will given and if greater than 9 month full increment will given.
Make it please as I desire
OpenOffice 44.1.1 windows
User avatar
soby
Volunteer
Posts: 150
Joined: Sat Oct 29, 2016 10:49 am

Re: Funcation Required

Post by soby »

I needed some time because i didn't find a solution for the 6 to 9 month
i hope this will help
Attachments
Paygrade3.ods
(12.19 KiB) Downloaded 88 times
Libre Office 6.1 dev homebuild Open Office 4.1.5 on Slackware64 current
Idrees Khan
Posts: 20
Joined: Thu Feb 02, 2017 6:33 am

Re: Function Required

Post by Idrees Khan »

Yes this help, waiting for solution for 6 to 9 month please.
OpenOffice 44.1.1 windows
User avatar
soby
Volunteer
Posts: 150
Joined: Sat Oct 29, 2016 10:49 am

Re: Function Required

Post by soby »

yes your were right, i mist the 6 and 9 month calculation
play a bit with the date in B5 to see the changes in the increase rate column
Attachments
Paygrade with 6 and 9 month increase.ods
(12.21 KiB) Downloaded 92 times
Libre Office 6.1 dev homebuild Open Office 4.1.5 on Slackware64 current
Post Reply