column a9 i have to the total of the product, and what i want is to compare that number in a9 and if its between a12 and b12, the commission is 0%, if its between a13 and b13, the commission is c13, if the total is between a14 and b14 then the commision is c14 and so on
how do i dod a nested if to do this. i am the first to admit i am HORRIBLE at math so any help would be appreciated
column a9 i have to the total of the product, and what i want is to compare that number in a9 and if its between a12 and b12, the commission is 0%, if its between a13 and b13, the commission is c13, if the total is between a14 and b14 then the commision is c14 and so on
how do i dod a nested if to do this. i am the first to admit i am HORRIBLE at math so any help would be appreciated
When I get a spare minute I'll see if I can figure out what the logic is for a nested IF function in Excel, with cell references. I'm a bit rusty with excel formulas, but I hope I can help you figure it out. I have to go eat dinner first.
This is what I've got so far. I'm wondering if the OR function can be used too. In regular programming I would use a "switch" but I don't think that's a possibility with Excel. Would be easier tho. lol..
_________________ "A waffle is like a pancake with a syrup trap." - Mitch Hedberg
Joined: Fri Sep 15, 2006 11:00 am Posts: 16093 Location: dublin Gender: Male
Px are you any good at Excel? I dread it but i've compiled an excel spreadsheet of all my pj gigs attended under the assumption I could pull up how many Given to Flys I've seen for example, yet I can't figure that out on excel at all. Any ideas how?
I haaaate excel.
_________________ At the end of the day, it's night.
Joined: Sun May 21, 2006 2:02 am Posts: 91597 Location: Sector 7-G
dimejinky99 wrote:
Px are you any good at Excel? I dread it but i've compiled an excel spreadsheet of all my pj gigs attended under the assumption I could pull up how many Given to Flys I've seen for example, yet I can't figure that out on excel at all. Any ideas how?
I haaaate excel.
Wasn't there a website that had a tool that would tell you that information?
_________________ It takes a big man to make a threat on the internet.
Px are you any good at Excel? I dread it but i've compiled an excel spreadsheet of all my pj gigs attended under the assumption I could pull up how many Given to Flys I've seen for example, yet I can't figure that out on excel at all. Any ideas how?
I haaaate excel.
I love Excel. Love Access too. But I don't get a chance to utilize either of them much. At my last job I was using them, but I encountered a tall poppy situation.
I'm not certified (story of my life), Dime! But I would use Filters (Data tab) to pull up how many times you've seen Given to Fly.
_________________ "A waffle is like a pancake with a syrup trap." - Mitch Hedberg
as you can see, the formulas that are showing the correct commission are hard coded in, but do not check to see if it can be any other commission rate, it assumes.
the purpose is to get a forumla to check to see where the data falls into the range of the commission chart
It helps to see the entire worksheet. You won't be able to copy and paste the formula I did, because the cell references are all skewed. But the function will work. Each cell in row 8 will require that same function but you'll need to adjust the cell parameters to call the data from the product produced in each respective cell in row 7.
I built a replica of your worksheet based on the formulas through row 6 so far. Question though: In row 7, shouldn't the results from row 6 all be multiplied by 10? You have them multiplied by 11 in cells B7 and C7.
I can adjust the formula for each cell in row 8.
brb.
_________________ "A waffle is like a pancake with a syrup trap." - Mitch Hedberg
i actually got some help elsewhere, excelforum.com
and there was really no need for a forumla
=B7*LOOKUP(B7,$A$14:$C19)
basically it looks at the first number in the column and sees if its in its range without going over, then does the multiplication itself. so if the formula is in b7, it will then multiply b7*lookup(b7, compares to $a$14 to $c$19 the range of criteria: $c19 what it multiplies it against if found )
Users browsing this forum: No registered users and 3 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum