Formula - Surely someone can sort this 1 out?

Quinton

Board Regular
Joined
Nov 6, 2008
Messages
125
OK can someone help as this is my 3rd Thread on this (i'm using Excel 2007).

I have 2 sheets. I copy & paste data into "Sheet 2" & I use "Sheet 1" for collating the data & generating graphs etc.

So normally I would use the = formula in "Sheet 1" to reference certain cells in "Sheet 2"

The problem I have is that the data I copy & Paste into "Sheet 2" changes everytime. 2 Examples are given below:

(ignore the dots - I just used them to get the columns to line up)

Example 1(Month 1)
.............Column 1....Column 2 Column 3

Line 1....Site Name...Plot........ Planned Date
Line 2.....The Gables...Plot 1......16.02.11
Line 3.....The Gables...Plot 2......19.02.11
Line 4.....The Gables...Plot 3......27.04.11
Line 5.....The Gables...Plot 4......16.02.11

Example 2(Month 2)
.............Column 1....Column 2 Column 3
Line 1....Site Name...Plot........ Planned Date

Line 2.....The Gables...Plot 4......12.02.11
Line 3.....The Gables...Plot 1......09.02.11
Line 4.....The Gables...Plot 2......18.04.11
Line 5.....The Gables...Plot 3......23.02.11

Normally to get Column 3, Line 4 data (27.04.11) in Example 1 above I would use =C4. However as soon as I copy & paste new data in (example 2) this result now changes to (18.04.11) as the existing data has moved from Line 4 to Line 5.

I basically need a formula that simply replaces =C4 with something like the following:

IF data within Column A =The Gables & data within Column B = Plot 3 then Please show the data in Column 3 - Whilst somehow respecting what line it in.

Good Luck & I would be eternally grateful!

Cheers,
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You could use something like:
=lookup(2, 1/((Sheet2!$A$1:$A$1000="The Gables")*(Sheet2!$B$1:$B$1000="Plot 3")),Sheet2!$C$1:$C$1000)
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top