Circular reference from a IF,Match formula

Status
Not open for further replies.

NileUk

New Member
Joined
Jan 20, 2021
Messages
10
Office Version
  1. 2007
Platform
  1. Windows
Hi guys

Trying to get a formula to work, and failing....again!

So I've got this far and can't understand why its not working, did tests as I went along, but now it's coming up with a result of '0' Dunno why?

The Formula is as follows


Excel Formula:

Excel Formula:
=IF(AND(MATCH(C5,[Quote '#],0),([Customer Name]=C6)),MAX([Customer '#]),MAX([Customer '#])+1)



I haven't started on the formula for the Job # cells yet but if you could point me in the right direction I would greatly appreciate it.

heresthe xl2bb sheet

Help please.xlsx
BCDEFGHIJKLM
3Workbook 'Pricing'Workbook 'Database'
4Table1
5Quote #Q10404Quote #Customer #Customer NameJob ## of engineershourly RateTotal HoursJob ValueMaterial Costs
6Customer Meg Ryan Q1039545051Fred Dibner11£ 20.0016£ 360.00£ 40.00
7hourly Rate£ 25.00Q1039645052Peter Jones11£ 25.004£ 186.00£ 86.00
8# of engineers2Q1039745051Fred Dibner22£ 20.0032£ 820.00£ 180.00
9total hrs50Q1039845053Alexi Sale12£ 25.0024£ 860.00£ 260.00
10Material Costs£ 250.00Q1039945051Fred Dibner31£ 20.004£ 95.00£ 15.00
11Job Value£ 1,500.00Q1040045054John Belushi11£ 25.008£ 237.00£ 37.00
12Q1040145055Joan Armatrading12£ 20.0016£ 389.00£ 69.00
13Q10402Fred Dibner£ -
14Q1040345051Fred Dibner41£ 20.0048£ 1,170.00£ 210.00
15Q104040Meg Ryan£ -
16Q1040545056Neil Young12£ 25.0016£ 550.00£ 150.00
17Q1040645057Meg Ryan11£ 25.0016£ 539.00£ 139.00
18Q1040745053Alexi Sale21£ 25.008£ 269.00£ 69.00
19Q1040845057Meg Ryan21£ 25.004£ 145.00£ 45.00
20Q10409John Belushi£ -
21Q1041045051Fred Dibner51£ 20.004£ 110.00£ 30.00
22
Sheet1
Cell Formulas
RangeFormula
C11C11=C9*C7+C10
F15F15=IF(AND(MATCH(C5,[Quote '#],0),([Customer Name]=C6)),MAX([Customer '#]),MAX([Customer '#])+1)
L6:L21L6=K6*J6+M6


Kind Regards

Nile
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Duplicate to: If/Match/Max formula

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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