Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Crosstab Imbedded Summary Calculation Post Reply Post New Topic
Author Message
bremen
Groupie
Groupie
Avatar

Joined: 28 May 2013
Online Status: Offline
Posts: 93
Quote bremen Replybullet Topic: Crosstab Imbedded Summary Calculation
    Posted: 18 Nov 2020 at 4:28am
I am rather new to working with cross-tabs in Crystal. My cross-tab is very basic. I am counting he number of items in each of my warehouses and I am trying to determine how many items per day a person needs to count in order to complete a 100% inventory in a calendar year. I was able to find this formula


Roundup( (GridValueAt (CurrentRowIndex, CurrentColumnIndex ,0 ) / 365))

and it does the job nicely. I was asked, however, to have some warehouses be counted at 300% annually. How would I format if my Row 1 value = Blue or Green or Red then do math else do different math?

IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 18 Nov 2020 at 6:00am
I don't think that you can use can use the font color as you cannot determine it by looking at the cell (Crystal doesn't have any methods)...but you set the colors based on something, you can use the same formula to change your math.

At least that is what I would try.

I don't use CrossTabs enough to be 100%
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.