Combine 2 Sets Of If Statements

May 15, 2008

I have 1 original and 1 new IF statements, but need to combine into 1. Is this possible?

Here are my IF statements:

=IF(I15="WSP - DT",I29,IF(I29=0,IF(I30=0," ",+I29+I30+I39+IF(I25=0,0,(I25-1)*1900)),I29+I39+IF(I25=0,0,(I25-1)*1900)))

=IF(I13="Base Suite",IF(I15="Self Serve - Web",AK81),IF(I13="Base Suite + Key Account Advantage",IF(I15="Self Serve - Web", AK84),IF(I13="Key Account Advantage (Stand Alone)",IF(I15="Self Serve - Web", AK87))))

The names in " "s are set up in drop downs.

View 14 Replies


ADVERTISEMENT

Nested IF Statements: Combine The Two Statements

Oct 14, 2009

How can I combine the two below statements like these to make one "Or Statement"? Sorry...I haven't done excel and/or's in forever?

=IF(('Proj Info'!L10="main")*AND('Proj Info'!L9="CT"),"BMSVC",'Proj Info'!L9)

OR

=IF(('Proj Info'!L10="serv")*AND('Proj Info'!L9="CT"),"BMSVC",'Proj Info'!L9)

View 2 Replies View Related

Combine To Sets Of Data?

Jul 8, 2014

I have two sets of data for students. One set contains all the students with certain test scores, taking up columns A to N. The other set contains about 80% of those same students with a different set of test scores. Students are sorted by ID numbers. How do I combine the second set into columns O to V so that student ID numbers match and it inputs the rest of the student data into the sheet.

I know there will be some blanks because not all students will be there but I need them to match up, even with the blanks.

View 2 Replies View Related

Four IF Statements To Combine

Jan 29, 2014

I need to write IF statement with 4 criteria, or at least I think IF will do the trick. It would be difficult and not very visual to describe my question here, therefore I have attached a dummy workbook with the comments. Basically I have got 2 values in 2 columns. Next 2 columns will hold letter "x". There are 4 possible variations how "x" will appear in those two columns: first, second, both or none. So depending where the "x" is, I need to return one of the 2 values.

View 6 Replies View Related

How To Combine Two If Statements

Feb 13, 2009

What I want that cell Q4 displays:
1) When the current date is larger than the date in O4 AND is smaller than the date in P4 than say "Update!"
- When the current date is larger dan P4, say "Expired!"

Every other scenario the cell must be blanc.

To do this I have made two seperate formulas:
1) =IF(AND(NOW()>=O4;NOW()P4;"Expired!";"")

How do I combine these into 1 cell? I have tried allmost every combination, I'm ready to throw my monitor through the windows

View 9 Replies View Related

Combine Two If Statements

Oct 28, 2009

Is there a way to combine two if statements below.

IF(I2=0,J2*-1,J2)IF(I2

View 9 Replies View Related

Combine Multiple IF/AND/OR Statements

Oct 16, 2009

If my input page B13 is either New Lease In-House or New Lease w/Co-Borker andmy input page B43 is - then take cell D57 in my Analysis report, mulitply it by cell B32 from Input page and divide it by 2, otherwise, take cell D57 on the analysis report, mulitply it by B42 on Input page and divide it by 4. I think I have a mess up with my brackets. This is what I have: =IF((OR('Input Page'!B13="New Lease In-House",'Input Page'!B13="New Lease w/Co-Broker"))AND('Input Page'!B43="-",'Analysis Report'!D57*'Input Page'!B32/2,'Analysis Report'!D57*'Input Page'!B32/"4")

View 4 Replies View Related

Streamline And Combine Into One 3 VBA Statements

Oct 20, 2011

At the moment I have 3 statements that i would like to streamline and combine into one. I would like to just press commandbutton1() and do the whole process rather than having 3 steps. Can I combine or I am better off doing it the way it is now?

Code:

Private Sub CommandButton1_Click()

'Prepare exports
'Delete cells and find and replace Y

Sheets("byemployee").Select
Rows("1:7").Select
Selection.Delete Shift:=xlUp

[Code] ........

View 4 Replies View Related

Combine Multiple If Statements With OR

Jun 15, 2009

=IF(VLOOKUP(B3,'Rep List'!$E$1:$I$10000,5,FALSE)=OR("BH","AC","#N/A",0),VLOOKUP(C3,'Rep List'!$A$1:$C$1000,3,FALSE),VLOOKUP(B3,'Rep List'!$E$1:$I$10000,5,FALSE))

I'm getting the "#value" error - the vlookups are working independently

View 9 Replies View Related

Multiple Condition IF Statements (combine Them Into One)

Feb 1, 2009

I have 4 IF(AND) conditions that work fine separately but I can't seem to combine them into one.

=IF(AND(H56="New",I56="RE",Q56<=5),”YES”,”NO”))
=IF(AND(H56="New",I56="NON",Q56<=1),”YES”,”NO”))
=IF(AND(H56="Renew",I56="RE",Q56<=3),”YES”,”NO”))
=IF(AND(H56="Renew",I56="NON",Q56<=2),”YES”,”NO”))

View 2 Replies View Related

Combine SUM And Return BLANK Statements?

May 25, 2013

If the cells are left blank I need the SUM column to remain blank, not return 0.

Combine :SUM(F9:BR9) + IFBLANK, return BLANK, not 0

View 3 Replies View Related

To Insert Down Between Sets Then Border Sets

Apr 10, 2008

Below is a series of sets. Column A is the set number. I need a macro that will insert a row between sets and then put a border around each set. In my spreadsheet the sets are from A1:C500. Sometimes the sets are only 1 row, sometimes multiple rows. It looks like I will be doing one of these sheets every week. So far I have been doing it manually, but a macro sure would save some time.

View 13 Replies View Related

Multiple IF Statements (skip The Next Two Statements Or The Result Will Be Changed Again)

Nov 22, 2008

I have three IF statements as below. the problem is if the first statement is true I want it to skip the next two statements or the result will be changed again.

View 2 Replies View Related

If Statements; List Any Date That Has Three Or More True Statements With The Coresponding Name

May 26, 2008

Sheet one will contain the following:

DATE A B C D E
2/22/2008TRUEFALSEFALSEFALSERon
2/23/2008FALSETRUETRUETRUEPhill
2/24/2008FALSETRUEFALSEFALSETracy
2/25/2008FALSEFALSEFALSEFALSESharon
2/26/2008TRUETRUEFALSETRUEBill

On sheet two I need to list any date that has three or more true statements with the coresponding name.

EXAMPLE:
2/23/2008Phill
2/26/2008 Bill

View 4 Replies View Related

Matching Sets Of Data?

Jul 10, 2014

I created a macro that extracts two columns of numbers from one workbook and need to match them to another set of numbers in another workbook. For instance i have numbers like...

18314 907
18272 64
11005 907
11005 324

..Now i need to match these numbers up with the others to find the hyperlink associated with them.

View 5 Replies View Related

Merging Two Sets Of Contacts?

Oct 17, 2013

I am trying to merge my boss's contacts. He has one enormous set of contacts in GMail (5000+) and one enormous set of contacts in Excel (5000+) I've exported both sets into excel but how to I merge them?

The headers for each set are in a slightly different order (Home Address, Office Address, Email ...vs.....Office Address, Home Address, Email) Do I need to make sure the order of the headers match in both the GMail Sheet and the Outlook Sheet and is there a faster way to do that than just rearranging them manually?

My second question is how do I merge them? There are a lot of over-laps of people but some info might be different in Outlook than in GMail. For example I might have John Smith as a contact in both Gmail and Outlook but two different email addresses for him under the header "Email 1" how do I make sure one email doesn't eliminate the other? I just want to merge both sets of contact info for each person into one super contact.

View 4 Replies View Related

Match Up Data From Two Different Sets?

Nov 8, 2013

I'm attempting to create a mailing list for the company I work for, but the software that has the data record is very limiting. The two tables I received from the program are listed:

Customer
Number of Sales

name 1
#

name 2
#

name 3

I tried to illustrate that the address list has a different customer composition than the sales list; the address list has customers that the sales list doesn't have. This means I can't just sort alphabetically and drag the addresses over. My goal here is to create a datasheet that incorporates both the address and number of sales so that we can send the top 500 customers a mailing. How can I do this?

View 2 Replies View Related

3 Sets Of Data Into 1 Sheet

Apr 1, 2014

I have 3 seperate tabs of data that i want to put into a combined sheet, how would i do this, i assume it's just like a copy/paste exercise but not sure how to do this using VBA?

My tab names are;

FND Data
UL Data
Life data

I just need the entire range copying from each tab into the 'Combined' tab

View 5 Replies View Related

Join Two Record Sets From Different DB Using Vba?

Jun 9, 2014

I have an requirement that retrieving the data from two different data bases. I want to compare those two and prepare a report using VBA. I am able to get the data to excel separately, but now I need to join these two sets based on the key columns

View 2 Replies View Related

Order Sets And Arrays

Feb 12, 2014

We have customers who order items in a specific order (Product X first, Product Y second, Product Z, etc...)

As it stands, no one orders in the same way and we want to try to standardize this process.

I have a list of about 600 products, such as : Product XProduct YProduct ZProduct 300...

I need to know the top 10 products ordered together. (the idea is that this variable will be changeable, and I can see the top 11, 12, or even more)

My idea is to generate a list of arrays in a new sheet with 10 products in them from the list; ie {Product A, Product B, Product C...Product K}, (noting to alphabetize the array entries and then remove duplicates form the row)

With this list, I will use each entry to check with each customer if they're order set array equals this list (again, alphabitized and duplicates removed to ensure comparison).

My question:Is this the most optimal way to do this? ... I am not even sure it would get me where I want to be. As it seems like an amazing amount of coding and formulas; but through my searching I haven't found this unique example.How can I generate my unique, alphabetized arrays for comparison (ie: 10x10, 9x9, 8x8...)

View 1 Replies View Related

Delete The Whole Row In All Sets Of Data

Dec 13, 2009

In the attached workbook, I have identical sets of data in column A separated by an blank cells. I need a macro for user form that searches for an item indicated in the textbox of the form and then delete the whole row in all sets of data.

It is important to keep the blank cells between the sets constant, 4 blank cells between each set, except the first set that starts with 3 blank cells.

View 2 Replies View Related

IF Formula For Sets Of Variables

Jan 28, 2009

If a value fallw within these ranges, then the next cell should calculate the answer according to the percentages outlined.

for exmaple:

If somethng costs 250.00 then the next cell should display - 250 x .50 and the answer would be 375.00

1-500 = 50%
501-1500 = 45%
1501 - 1600 = 40%
1601 - 2500 = 35%
2501+ = 30%

and automatically calculate the answer.

I know there's an IF formula, but I can't seem to figure out how to do multiple IF's ~

View 5 Replies View Related

Min Values From Multiple Sets

Mar 7, 2009

I am attaching a worksheet for which I need to calculate "National Points". I need to select 5 lowest values from "Tech" and "Speed" (Row 3 headings) events to the left of the totals column but a minimum of three "Tech" values need to be used. I have used the min, small 2, small 3 for the "Tech" set then used an IF statement for the fourth value. The formula returns the correct sum for values up to the fourth value. The problem comes on the fifth value. It seems to depend on if the 4th and 5th value come from the "Tech" events or "Speed" events. I have calculated the values manually and am unable to get them to correspond all the time. Can anyone help?

View 9 Replies View Related

Summing The Data From Two Sets?

Jan 21, 2010

I’m trying to get the total number of participants in two different sets, with selection criteria attached to both (I’ve attached an excel file, as the example with those scoring +ve highlighted in yellow). The first set A (b1:b15) I want to select all values above 5, and the second B (c1:c15) set above 10. There other provisor, is that the A and B are further split into two groups (one above and one below 20).

In summary, I need to count all the A>5, B>10 (And both have to be above 20 in column D), but not to double count the ones that have Both A>5 and B>10. I don’t want any duplicates to be counted, so summing the total of A and adding it to B won’t work. In essence it’s an attempt to use the A Union B function that you’d observe when using venn diagrams.

Is there a simple way/formula of doing this?

View 13 Replies View Related

Two Sets Of Values And Only One Y Axis?

Jul 6, 2012

I have to sets of values that I have graphed....number and dollar amount.

The dollar amount is in the hundreds of thousandths and the number is in the hundreds. I want to have two verticle axis. one on the left hand side for the dollar and one on the right side for the number.

View 1 Replies View Related

How To Compare Two Sets Of Dates Against One Another In VBA

Jun 11, 2014

I am trying to figure out how to compare two sets of dates against one another in vba. The data is spread over eight columns. I need to be able to find the smallest date in the first four columns and then compare it to the smallest date in the other four columns, then go to the next smallest and so on.

View 4 Replies View Related

Reconcile Two Sets Of Data

Dec 6, 2006

I manually reconcile two sets of data every month by sorting by PO# and then manually matching up the onse that are the same and then calculate if there is a variance in $ amount.

The 1st set of data is a list of invoice PO#'s and invoice $ amounts and the 2nd set of data is order PO#'s and order $ amounts. What I need to do is reconcile the orders to the invoices by PO#. It is very common to have a PO# on each list but have a different $ amount and I only need to know what the difference is between the order amount and the invoiced amount. I also need to know what is on the invoice list and not on the order list and vise versa....

View 10 Replies View Related

Comparing 2 Sets Of Data ...

Feb 23, 2009

I am wondering if it is better to do this in excel or access. I am pretty familiar with access...i know this would be easy to do if querying from one table and doing a relationship between identifier, but i'm not sure how to capture data from both tables. But basically this is what I want. I have 2 files, which have identifiers and share amounts...both files will have some like identifiers, some not alike...basically this is what I want to do: ....

View 9 Replies View Related

Comparing Two Sets Of Data

Aug 28, 2009

I'm trying to compare two sets of data on the same sheet. Each set has 4 columns...A - D and F - I. I would like to take the data from D and I (range 20 to 50) and compare them to see if any differences exist in the two columns. If there is something different I would like to bold and highlight the cells (A-D) in that row, and the same goes for the second set of data (F-I).

I'm trying to do this with macros so I can add it into my existing code.

View 9 Replies View Related

Search A Value - Two Sets Of Values

Jul 30, 2006

There are two sets of values.

The first one are located at Sheet1(a2.a6) and Second one are at Sheet2(A1.A1000). how I can write a VBA code to find the First value in Second set of values. If it found in second set, Sheet1.B1 will be entered as the found value from Second set of value otherwise "NOt found".

This task should go till the no of values in first set (in this example five times)

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved