-
WSAladin Akyurek
AskWoody LoungerX2: 13-Jun-11
Y2:
=SUMIF(Date_ordered,X2,Price)
should yield a total rekated to X2.
If you enter 30-Jun-11 in X3, the formula can be copied down to obtain the total for X3.
Are we missing something?
-
WSAladin Akyurek
AskWoody LoungerCan you explain what the 9.99E+307 represents in the formula?
Here is a b it technical explanation:
-
WSAladin Akyurek
AskWoody LoungerI guess the answer is that the data in the search range needs to be in ascending order to get useful results. In my case, it is not. Don’t think I can use VLOOKUP either. Hmmmm.
Thanks … John
Try…
=IF(C44=1;INDEX($A24:$A40;MATCH(C43;C24:C40;0));””)
-
WSAladin Akyurek
AskWoody LoungerExcel 2003
Hi
Cell A10 of the attached have this formula which return correctly the text contain in a cell of the range
However, am not sure if this is a valid formula?=LOOKUP(“text”,A1:A9)
If I change the text to tv3 in the cell A4, its return #N/A, why is this so?
Need your expertise on this
TIA
cheers, francis
LOOKUP requires that the range it applies to is sorted in ascending order. This function most probably uses a variant of binary serach.
How that works is described in a graphical manner in the following attempt:
-
WSAladin Akyurek
AskWoody LoungerHow to have the number of last free cell in range A2:IV2…
In this my case 4 (D2 is the free last cell)Doing it by means of a formula:
Control+shift+enter, not just enter…
=MATCH(2,1/(1-ISBLANK(A2:IV2)))+1
If A2:IV2 is empty (unused), the result will be #N/A.
-
WSAladin Akyurek
AskWoody LoungerObserve that I added another record to the sample you provided.
Sheet2…
B1: 30
B2: 1
B3:
Control+shift+enter…
=SUM(IF(Sheet1!C2:C6=B1,IF(Sheet1!D2:D6=MIN(IF(Sheet1!C2:C6=B1,Sheet1!D2:D6)),1)))
A5:
Control+shift+enter…
=IF(ROWS($A$5:A5)<=$B$3,SMALL(IF(Sheet1!$C$2:$C$6=$B$1,IF(Sheet1!$D$2:$D$6=MIN(IF(Sheet1!$C$2:$C$6=$B$1,Sheet1!$D$2:$D$6)),ROW(Sheet1!$D$2:$D$6)-ROW(Sheet1!$D$2)+1)),ROWS($A$5:A5)),"")
and copy down.
B5, copy across then down:
=IF(N($A5),INDEX(Sheet1!A$2:A$6,$A5),"")
-
WSAladin Akyurek
AskWoody LoungerSince you are on Excel 2003, try to exploit the Data|List|Create List functionality.
-
WSAladin Akyurek
AskWoody LoungerCalling
=SUMPRODUCT((X=x)*(Y=y),Z)
‘more robust’ compared with:
{=SUM(IF(X=x,IF(Y=y,Z)))}
tends to have an unfortunate implication that:
{=MAX(IF(X=x,IF(Y=y,Z)))}
{=AVERAGE(IF(X=x,IF(Y=y,Z)))}
and similar multiconditional formulae are ‘less robust’, ‘non-robust’, etc.
-
WSAladin Akyurek
AskWoody LoungerSuspected that much. But, that notion of robustness is unfortunate for it qualifies all multicondinoal formulae involving MAX, MIN, AVERAGE, MEDIAN, etc. as non-robust.
-
WSAladin Akyurek
AskWoody LoungerJune 18, 2006 at 9:28 pm in reply to: INDIRECT as part of Array formula – hows it work? (excel 97 on win xp sp2) #1016791Now you know how the ROW(INDIRECT(…)) bit works, isn’t that a too expensive formula?
An alternative would be:
=TRIM(RIGHT(” “&A2,LEN(” “&A2)-FIND(“@”,SUBSTITUTE(” “&A2,” “,”@”,LEN(” “&A2)-LEN(SUBSTITUTE(” “&A2,” “,””))))))
which just needs enter. BTW, the string in A2 should not have trailing spaces.
-
WSAladin Akyurek
AskWoody Lounger=SUMPRODUCT(–(MOD(COLUMN(B2:BB2)-COLUMN(B2)+0,2)=0),B2:BB2)
-
WSAladin Akyurek
AskWoody LoungerWhy is a SumProduct formula ‘more robust’?
-
WSAladin Akyurek
AskWoody LoungerYou’re right. You can reduce the formula to:
=($A2″”)*(LOOKUP($A2+$F$1,GTable)LOOKUP($A2,GTable))
-
WSAladin Akyurek
AskWoody LoungerNot sure I’ve got the story right, but try:
1) Activate Insert|Name|Define.
2) Enter GTable as name in the Names in Workbook box.
3) Enter the following formula in the Refers to box:={0,”F”;70,”C”;77,”C+”;80,”B”;87,”B+”;90,”A”}
Click OK.
A) Select A2:A10 (adjust to suit), the range housing numeric scores.
Activate Format|Conditional Formatting.
C) Choose Formula Is for Condition 1.
D) Invoke the following formula:=($A2″”)*(LOOKUP(MIN($A2+$F$1,100),GTable)LOOKUP($A2,GTable))
E) Activate the Format button and apply apropriate formatting (pink and dots)
F) Click OK, OK.BTW: Since we named the relevant table, we can change the original formula:
=LOOKUP(MIN(A2+$F$1,100),{0;70;77;80;87;90},{“F”;”C”;”C+”;”B”;”B+”;”A”})
To:
=LOOKUP(MIN(A2+$F$1,100),GTable)
-
WSAladin Akyurek
AskWoody LoungerFred,
Just to make sure:
A2: 50, modified 50+$F$1=51
A3: 86, modified 86+$F$1=87
A4: 77, modified 77+$F$1=78
Could you specify what colors would apply to A2:A4, specified per cell?
Aladin
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Outlook new and edge do not load
by
cHJARLES a pECKHAM
20 minutes ago -
Problem using exfat drives for backup
by
Danmc
38 minutes ago -
I hate that AI is on every computer we have!
by
1bumthumb
1 hour, 57 minutes ago -
Change Info in the Settings window
by
CWBillow
7 hours, 19 minutes ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
13 hours, 43 minutes ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
1 hour, 41 minutes ago -
Use of Gmail rejected.
by
CBFPD-Chief115
7 minutes ago -
WuMgr operational questions
by
Tex265
47 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
1 day, 5 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
5 hours, 30 minutes ago -
Backing up Google Calendar
by
CWBillow
1 day, 11 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
2 days ago -
File Naming Conventions (including Folders)
by
Magic66
22 hours, 56 minutes ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
2 days, 7 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
1 day, 18 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
1 day ago -
Adding Microsoft Account.
by
DaveBRenn
2 days, 8 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
3 days, 8 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
3 days, 8 hours ago -
Windows 11 won’t boot
by
goducks25
1 day, 1 hour ago -
Choosing virtual machine product for Windows on Mac
by
peterb
2 days, 22 hours ago -
Rest in Peace
by
Roy Lasris
4 days, 3 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
1 day ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
4 days, 3 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
19 hours, 7 minutes ago -
Long Time Member
by
jackpet
4 days, 6 hours ago -
Woody Leonhard (1951–2025)
by
Will Fastie
7 minutes ago -
What I learned from Woody Leonhard
by
B. Livingston
3 days, 23 hours ago -
Windows Settings today
by
Simon Bisson
1 hour, 58 minutes ago -
Mail Merge magic in Microsoft Word
by
Peter Deegan
1 day, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.