Formula Nightmare!

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,817
Office Version
  1. 2010
Platform
  1. Windows
I can't get my formulas to work and I just can't see where I'm going wrong... It's a CHOOSE with 2 VLOOKUPS that is not giving an expected return BUT, my 1<SUP>st</SUP> problem is D1… why is my return 0 and not TRUE?

Just noticed that the bottom of my window says Circular: D1 but I can't even see why it is a circular?

Fixtures

<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 17px"><COL style="WIDTH: 117px"><COL style="WIDTH: 19px"><COL style="WIDTH: 117px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD></TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD></TR><TR style="HEIGHT: 16px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: right">1</TD><TD style="TEXT-ALIGN: right">0</TD><TD></TD><TD></TD></TR><TR style="HEIGHT: 16px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="BACKGROUND-COLOR: #ccffff; FONT-SIZE: 8pt"></TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #ccffff; FONT-SIZE: 8pt">0</TD><TD style="BACKGROUND-COLOR: #ccffff; FONT-SIZE: 8pt"></TD><TD style="BACKGROUND-COLOR: #ccffff; FONT-SIZE: 8pt"></TD></TR><TR style="HEIGHT: 16px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt">37</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt" colSpan=3>Fixtures</TD></TR><TR style="HEIGHT: 16px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: center; FONT-SIZE: 8pt">38</TD><TD style="FONT-SIZE: 8pt">Home</TD><TD style="FONT-SIZE: 8pt"></TD><TD style="FONT-SIZE: 8pt">Away</TD></TR><TR style="HEIGHT: 16px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: left; BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt">1</TD><TD style="TEXT-ALIGN: right; BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt">0</TD><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt">V</TD><TD style="BACKGROUND-COLOR: #ffff00; FONT-SIZE: 8pt">Reading</TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>D1</TD><TD>=C1=C5</TD></TR><TR><TD>D2</TD><TD>=VLOOKUP(C5,$AF$1:$AH$12,2,0)</TD></TR><TR><TD>C3</TD><TD>=MAX(Week)</TD></TR><TR><TD>C5</TD><TD>=IF(U5="Entered","E",1)</TD></TR><TR><TD>D5</TD><TD>=CHOOSE($X$2,VLOOKUP(C5,$AF$1:$AH$12,2,0),100)</TD></TR><TR><TD>F5</TD><TD>=IF($X$2=1,$AH1,AH14)</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,156
It's difficult to be sure about this, because there's obviously a lot of formulas involved and we can't see all of them.

First off, is C1 actually = to C5 ?
It looks as if C5 must be a numeric 1.
But what's in C1 ?
Is it possible it's a text "1" ?
Or maybe a numeric 1.1 or 0.9 ?
Either of those would cause the mismatch.

The circular reference comment might be a bit misleading. In my experience it may not actually be D1 that contains the circular reference, but it may refer to a cell that contains the circ.ref.

It looks as if C5 doesn't contain a circ.ref, so does C1 contain one ?
Or maybe U5 ?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,517
Messages
5,832,222
Members
430,116
Latest member
d1pakjha

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
Top