Solved

Excel Formula

Posted on 2011-03-22
10
243 Views
Last Modified: 2012-05-11
Hi All,

I need Excel to perform a calculation but i do not know how to do it.
Here is the scenario:

I need a formula that will read column B&DIF they are the same value to then check columns C&E IF C&E are the same value, i want that value to be written to Column A.
         
   A      B         C                           D       E            
1      1/1      1501 (green)            1/1      1501 (green)
2      1/3      1501 (green)            1/3      1501 (green)
3      1/5      1501 (green)            1/5      1501 (green)
4      1/6      1501 (green)            1/6      1501 (green)
5      1/7      1501 (green)            1/7      1501 (green)
6      1/8      1504 (green)            1/8      1504 (green)
7      1/11      1504 (green)            1/11      1504 (green)
8      1/13      1501 (green)            1/13      1501 (green)

Hopes this makes sense, Thanks for your help
0
Comment
Question by:-P-Henderson
10 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 125 total points
ID: 35196191
Use this formula in column A starting A1 and copy down:
=IF(B1=D1,IF(C1=E1,C1,""),"")
0
 
LVL 6

Assisted Solution

by:Eric Zwiekhorst
Eric Zwiekhorst earned 125 total points
ID: 35196198
put in A1: =if(B1=D1,if(C1=E1,E1,""),"")
 this will do what you ask..
then drag this formula down to you range


Kind regards

Eric
0
 
LVL 5

Assisted Solution

by:Angelgeo
Angelgeo earned 125 total points
ID: 35196200
=IF(AND(B1=D1,C1=E1),C1," ")
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 125 total points
ID: 35196202
You can put =IF(B1=D1,IF(C1=E1,C1,""),"") in A1 and paste it down below. See attached file. Is this what you intended? Formula-Excel.xlsx
0
 
LVL 6

Expert Comment

by:Eric Zwiekhorst
ID: 35196204
mmm seems to me the update of EE is to slow, I can't remember typing for more then 2 minutes, jimy, you did beat me to it...
0
 

Author Comment

by:-P-Henderson
ID: 35197350
damn you guys are fast !!! thanks to you all
0
 
LVL 6

Expert Comment

by:Eric Zwiekhorst
ID: 35197428
Hi P,

thanks for the assistend solution...

Eric
0
 

Author Comment

by:-P-Henderson
ID: 35197436
if i wanted to extend this to include further columns ie... F compared to B and G compared to C...

Basically the overall result is that i need to add data everyday to find out the common average.... so as long as columns B/D/F etc match the results which are C/E/G need to be put into column A as the most prominent result.

So if B/D/F all matches the results from C/E/G results were 1501,1501,1502..... then 1501 would be place in column A as it was produced more times.....! if any of that makes sense

   A      B         C                           D       E                                      F               G
1      1/1      1501 (green)            1/1      1501 (green)
2      1/3      1501 (green)            1/3      1501 (green)
3      1/5      1501 (green)            1/5      1501 (green)
4      1/6      1501 (green)            1/6      1501 (green)
5      1/7      1501 (green)            1/7      1501 (green)
6      1/8      1504 (green)            1/8      1504 (green)
7      1/11      1504 (green)            1/11      1504 (green)
8      1/13      1501 (green)            1/13      1501 (green)
0
 
LVL 6

Expert Comment

by:Eric Zwiekhorst
ID: 35197451
Hi P,

this would be easier to do with a macro..

But you would need a new question for that.

Kind regards

Eric
0
 

Author Comment

by:-P-Henderson
ID: 35197533
Ok Thanks,
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

813 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

14 Experts available now in Live!

Get 1:1 Help Now