Solved

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

Posted on 2016-08-24
8
39 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:baleman2
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:baleman2
Comment Utility
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
Comment Utility
Wrong attachment.  New one is:  Payout_to_Pool_3
C--Users-dan-Desktop-Payout_to_Pool.xlsx
0
 

Author Comment

by:baleman2
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

728 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now