Excel Formula Needed | Bytes (2024)

Home Posts Topics Members FAQ

jalbright99669

Excel Formula Needed | Bytes (2) 2 New Member

Am in a bit of a strait. Looking for a non-VBA excel formula to work with rental rates in our workbook. I am hoping there is a simpler Excel method to use other than nested IF statements. The rental rates for equipment is billed by the day, week and month and breaks out as follows: 1 - 2 days is by the day. 3 - 10 consecutive days is by the week and >= 11 consecutive days is by the month. The complication comes to play when either a weekly rate or monthly rate is in effect and there are either partial days or partial weeks which goes similar to this:
6 - 7 consecutive days rental will evaluate as: 1 week plus 1 or 2 days.
11 - 12 consecutive days rental will evaluate as: 2 weeks plus 1 or 2 days.
>= 11 and <= 20 consecutive days will evaluate as: 1 month
After the monthly charge is in effect, there are typically charges amounting to 1 - 2 months plus 1 or 2 additional days. To complicate it further, there are also monthly charges with an extra 1 or 2 weeks coupled with 1 - 2 days.

I experimented with methods using the INT(), MOD() & ROUND() functions to arrive at a basis to determine when weekly or monthly charges would begin but unfortunately, it had to include a myriad of if/else if statements.

Is there a better more concise method?

Jan 13 '23 #1

Subscribe Reply

0 Excel Formula Needed | Bytes (3) 4508 Excel Formula Needed | Bytes (4)

Sign in to post your reply or Sign up for a free account.

Similar topics

1910

excel formula parseing ??

by: tag |last post by:

Hi, I have a problem in that I need to be able to parse excel formula's and evaluate them to get results. Python is very well suited for this as it has WONDERFUL data handling capabilities. My question is : Is there an excel formula parser out there? and if not - does anyone have an idea on where to start ?

Python

1401

Extract Excel Formula Functions

by: gunalan |last post by:

Hi, Can u help me to extract the excel formula functions and data type like currency,number for the corresponding cell using C#. Excepting early reply.

.NET Framework

3 4240

Convert Excel Formula to Access Formula

by: skiddle |last post by:

I've got an Excel formula that calculates the total business hours that a help desk ticket is open. As one would expect, it factors out holidays and non-work hours. What would be the corresponding formula in Access? =IF(AND(INT(StartDT)=INT(EndDt),NOT(ISNA(MATCH(INT(StartDT),HolidayList,0)))),0,ABS(IF(INT(StartDT)=INT(EndDt),ROUND(24*(EndDt-StartDT),2), (24*(DayEnd-DayStart)* (MAX(NETWORKDAYS(StartDT+1,EndDt-1,HolidayList),0)+...

Microsoft Access / VBA

1 3664

excel formula for converting date to Lunar date

by: =?Utf-8?B?bGF3ODc4Nw==?= |last post by:

i am looking for some MS Excel formula or MS Visal Basic Marco for converting Date to Lunar Date. tks

.NET Framework

2 2928

excel formula to access formula

by: welshkaiboy |last post by:

Due to the size of the data I have to manipulate I need to apply a excel formula in access which determines date of manufacture from a serial number 716001 so I use =VALUE(DATE(VALUE(MID(A1,3,1))+2000,1,1))+VALUE(MID(A1,4,3))-1 which gives 1/1/2006 How can I get this formula to work in access I know that the field name replaces the cell reference. I am just finding my feet in access and struggling to get this to work. I don’t really want...

Microsoft Access / VBA

2 5547

excel formula to access expression

by: rtilson |last post by:

I am not sure why excel and access use the same method in formula. I am not access expert but been trying to figure it out. Here is the excel formula that I would like to use in access expression =ROUND((A2-5148000)*1.000440935+48000,IF(MOD(A2,1)=0,0,3)) I have tried using is the coorinate

Microsoft Access / VBA

1429

Export excel formula to access

by: Lina Arraiz |last post by:

I'm trying to export an Excel 2003 spreadsheet to Access 2007. I need to calculate the time elapsed between column D (START) and column E (END) with the results appearing in column F (TIME). The Excel formula, which is placed in column F, goes like this: =24*(IF(E2>D2,D2-E2)) Exactly what language do I use in Access and where do I put it in order to get the same results? I appreciate your help ... I'm totally stumped!

Visual Basic 4 / 5 / 6

13 8046

How can I get this excel formula to work in access?

by: Cayetano |last post by:

How can I get this excel formula to work in access I know that the field name replaces the cell reference? Example: Clock In Clock Out = Total Time Worked =IF((OR(H9="",G9="")),0,IF((H9<G9),((H9-G9)*24)+24,(H9-G9)*24))

Microsoft Access / VBA

10 5138

convert the excel formula into a Access 2010 expression

by: Cayetano |last post by:

I created a table that has a field name InTime and a field name OutTime with a calculated field name TotalTime. Now I need to create a calculated field name TotalUnits. I need to convert the excel formula into a Access expression. I’m including the numbers of minutes that equal to a unit (if this helps). Number of Minutes in Military TimeUnits 0.13 minutes through 0.37 minutes = 1 unit 0.38 minutes through 0.62 minutes ...

Microsoft Access / VBA

1 880

Moving an Excel formula to calculated field in Access

by: cvsutton |last post by:

Hi All, I"m in the process of constructing an Access database to replace a number of inefficient Excel spreadsheets. Overdue. This is the original Excel formula, will cell references of course: =IF(J6>2.99,(8.654+((12.5/1.3)*J6)),0). It works (in Excel) to convert variables into a score out of/X. Looking to use it in a calculated field in an Access report. I'm working with =IIf(>2.99,(5.192+(7.5/1.3)*),(0)) in Access so far. "Test 13" is...

Microsoft Access / VBA

8652

What is ONU?

by: marktang |last post by:

ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...

General

9005

Maximizing Business Potential: The Nexus of Website Design and Digital Marketing

by: jinu1996 |last post by:

In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...

Online Marketing

8841

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

by: tracyyun |last post by:

Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

1 6511

Access Europe - Using VBA to create a class based on a table - Wed 1 May

by: isladogs |last post by:

The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

4351

Trying to create a lan-to-lan vpn between two differents networks

by: TSSRALBI |last post by:

Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

Networking - Hardware / Configuration

4599

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

1 3025

transfer the data from one system to another through ip address

by: 6302768590 |last post by:

Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

C# / C Sharp

2 2291

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

3 1987

Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy

by: bsmnconsultancy |last post by:

In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

General

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisem*nts and analytics tracking please visit the page.

Excel Formula Needed | Bytes (2024)

References

Top Articles
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 5229

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.