Solved

Excel 2007.  Detailed/Complicated IF(AND) or IF(OR) formulas needed.

Posted on 2016-08-24
8
54 Views
Last Modified: 2016-08-25
I've included a spreadsheet that has some manually entered data on a few rows.  I've included text boxes on the spreadsheet with details concerning my needs for formulas.

I may be trying to get an "IF" statement to do too much.

Please advise.
C--Users-dan-Desktop-Payout_to_Pool.xlsx
0
Comment
Question by:baleman2
  • 6
8 Comments
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41769550
please find attached.

i created two tables  that reside inside named ranges  MyTable1 and MyTable2

then i used the vlookup formula with if function.

the formulas in workbook are self explanatory
C--Users-dan-Desktop-Payout_to_Pool.xlsx
1
 

Author Comment

by:baleman2
ID: 41769570
I understand the formulas in Columns Q and S - now that I see them.

I'm not familiar with VLOOKUP.  I can see on Sheet 3 the information posted there, but I don't know how you've used the "vlookup formula with if function".  Can't find the formulas - are they hidden?

Can you explain?

Everything works!
0
 

Author Comment

by:baleman2
ID: 41769586
Because I'm unfamiliar with VLOOKUP, I'm now unsure if the data shown in Columns E and G are the result of the VLOOKUP function or not.

On my original spreadsheet (although Columns E and G displayed data) I keyed in the data in those columns manually.

To display the multiplier without keying it in, I thought there would be a formula in E2 as follows:
=IF(C2-A2<15,.010,.005)

The dates shown in A2 and C2 will be pulled in by querying a database and automatically populated.  Then, the formula in E2 would automatically populate the cell with either .010 or .005.  I just couldn't get this same IF statement to also display the phrases I needed in G2.

If the "Paper Sent" date were changed in C2 to 05/20/2016, none of the other fields change.  I would expect C2 multiplier to change to .005, but it doesn't.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:baleman2
ID: 41769588
To make an attempt at further explanation, when this spreadsheet is first opened via querying a database, Columns E and G would be blank.

They would only populate based on the formula placed in Column E as described above.
0
 

Author Comment

by:baleman2
ID: 41769705
In an attempt at clarification, I've attached another spreadsheet with more notes.

Don't know if this makes it harder or easier.
C--Users-dan-Desktop-Payout_to_Pool.xlsx
0
 

Author Comment

by:baleman2
ID: 41769707
Wrong attachment.  New one is:  Payout_to_Pool_3
C--Users-dan-Desktop-Payout_to_Pool.xlsx
0
 

Author Comment

by:baleman2
ID: 41769710
I can't seem to add the new spreadsheet as an attachment.  I'll open a different ticket.
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 41770927
Please close this question since it appears to have been answered here: 28965511.

I would have recommended the VLOOKUP options as well as they are succinct and more-flexible than long, nested IF statements.

Regards,
-Glenn
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question