PC Review


Reply
Thread Tools Rate Thread

After sorting the formula has the incorrect cell

 
 
=?Utf-8?B?dGlx?=
Guest
Posts: n/a
 
      23rd Sep 2006
I am using the following
=SUMIF(Taken!A$1:A$1999,Accrual!C6,Taken!D$1$1999). When I do a sort on
the data the Accrual!C6 remains cell C6 but it should be C10 because I added
information and then sorted and the formula is now on line 10.

Can anybody help??
 
Reply With Quote
 
 
 
 
Herbert Seidenberg
Guest
Posts: n/a
 
      26th Sep 2006
Solution #1
Place the formula of C6 into the SUMIF() formula.
If, for example, C6 contains
=E1*F1 then the modified formula becomes:
=SUMIF(A1:A1999,E1*F1,D11999)
Solution #2
Give C6 a name, say Tag, and type it into B6.
Select B6:C6 and
Insert > Name > Create > Left column
The modified formula becomes:
=SUMIF(A1:A1999,Tag,D11999)
After sorting column B and C together, Tag will be in another row,
but adjacent to the formula =E1*F1.
Rename the formula as above.
Solution #3
If you want to get away from renaming Tag after each sort, do this:
Insert > Name > Define > Names in workbook > Tag
Refers To: =VLOOKUP("Tag",B1:C1999,2,0)
The SUMIF() formula stays the same as in #2

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting by DIMENSIONS incorrect? Terry Pinnell Windows XP Configuration 4 25th Mar 2007 12:32 PM
How do I prevent incorrect formula results appearing in cell? =?Utf-8?B?TWFyYyBUb2Rk?= Microsoft Excel Worksheet Functions 2 26th Jan 2005 07:57 AM
Formula cell references when sorting values in another worksheet =?Utf-8?B?VTRpaw==?= Microsoft Excel Worksheet Functions 1 30th Mar 2004 11:27 AM
Jet 4 Sorting of Decimal values is incorrect Brent Fanguy Microsoft Access 0 5th Dec 2003 05:30 PM
Incorrect Sorting Tracy Microsoft Outlook Contacts 6 15th Oct 2003 02:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:25 AM.